Explain how to apply style elements in a silverlight project?



Explain how to apply style elements in a silverlight project?..

Answer / 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

More Microsoft Silverlight Interview Questions

What is the silverlight official name?

1 Answers  


Give an example of how an AppManifest.xml file looks like.

1 Answers  


Describe the different layout controls available with the use of Silverlight

1 Answers  


Explain the mouse events that silverlight currently supports.

1 Answers  


Is silverlight a new media player?

1 Answers  


Explain how to add the reference of a class library project in silverlight application project

1 Answers  


give an example of creating button in xaml ?

1 Answers   Microsoft,


What objects support tranformations?

1 Answers  


What are the different event modes in silverlight?

1 Answers  


Explain the purpose of parent xaml tag of silverlight page?

1 Answers  


give the reasons how ajax is better than a java applet?

1 Answers   Microsoft,


What are the different important files that are used in silverlight?

1 Answers  


Categories