Skip to main content
Home Forums General Silverlight New Features in Silverlight 3 Grid.RowDefinitions / Resource or Style
2 replies. Latest Post by schakal242 on June 7, 2009.
(0)
schakal242
Member
18 points
55 Posts
06-06-2009 9:08 AM |
Hello,
how can i store RowDefinitions in a StaticResource or a Style?
jay nana...
Contributor
3388 points
624 Posts
06-06-2009 1:37 PM |
Take a look for the answer here
http://silverlight.net/forums/t/95253.aspx
06-07-2009 8:32 AM |
Hello Jay,
thanks for your answer!
My Solution is:
In App.xaml:
<GridLength x:Key="MyRowDef" >30</GridLength>
And i can use it:
<RowDefinition Height="{StaticResource MyRowDef}"/>