Explain how to apply style elements in a silverlight project?
Answer Posted / Ashish Kumar Jaiswal
Style elements can be applied in XAML by defining a Style resource and referencing it within the element you wish to modify. For example: `<Window.Resources> <Style x:Key="myStyle" TargetType="{x:Type TextBlock}"> ... </Style> </Window.Resources> <TextBlock Style="{StaticResource myStyle}" />`
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
No New Questions to Answer in this Category !! You can
Post New Questions
Answer Questions in Different Category