XML:
<Thickness Left="{StaticResource SomeDouble}" Top="0" Right="0" Bottom="0" />
Yukarıdaki kod tarzı bir thickness oluşturmak istiyorum fakat bu şekilde kullanmayı denediğimde derleyici hata vermekte.
Sadece belirtilen köşeye (Top,Left,Right,Bottom) double değeri ile nasıl thickness oluşturabilirim?
Alınan hata:
XAML Thickness type cannot be constructed. In order to be constructed in XAML, a type cannot be abstract, interface, nested, generic or a struct, and must