WPF привязка int из Window.Resources
нужно чтобы высота и ширина окна и Window.Clip RectangleGeometry Rect брались из ресурсов
<Window.Resources>
<sys:Int32 x:Key="windowW">120</sys:Int32>
<sys:Int32 x:Key="windowH">80</sys:Int32>
</Window.Resources>
// тут нормально
<Window.Height>
<Binding Mode="OneWay" Source="{StaticResource windowH}"/>
</Window.Height>
<Window.Width>
<Binding Mode="OneWay" Source="{StaticResource windowW}"/>
</Window.Width>
<Window.Clip>
<RectangleGeometry>
<RectangleGeometry.Rect>
<Rect X="0"
Y="0"
Width="...."/> // тут ненормально
</RectangleGeometry.Rect>
</RectangleGeometry>
</Window.Clip>