Skip to main content

Microsoft Silverlight

Answered Question Grid.RowDefinitions / Resource or StyleRSS Feed

(0)

schakal242
schakal242

Member

Member

18 points

55 Posts

Grid.RowDefinitions / Resource or Style

Hello,

how can i store RowDefinitions in a StaticResource or a Style?

jay nanavati
jay nana...

Contributor

Contributor

3388 points

624 Posts

Answered Question

Re: Grid.RowDefinitions / Resource or Style

 Take a look for the answer here

http://silverlight.net/forums/t/95253.aspx

Jay K Nanavaty
www.technologyopinion.com
Mark as answer if it helps. It will also help others...

schakal242
schakal242

Member

Member

18 points

55 Posts

Re: Grid.RowDefinitions / Resource or Style

 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}"/>

  • Unanswered Question
  • Answered Question
  • Announcement
Microsoft Communities