In WPF XAML there is the convenient DesignHeight and DesignWidth, for instance in code as
DesignHeight
DesignWidth
I found that you can do one for yourself. Custom design-time attributes in Silverlight and WPF designer is a tutorial how to do it for both Silverlight and WPF.