Specify width/height as resource in WPF

Is there a way in WPF to specify a width/height as a resource, so that it can be reused in several styles for e.g. margin/padding?