How to implement the style in Silverlight?

Answer

Silverlight is a web-based application framework to write rich internet application. The style is a collection of property values that applies to an element. The style allows the application to look more visually appealing. The style is defined in the file named App.xaml. The silverlight style will be given as:
<Application.Resource>
<Style a:key="app_button" TargetType="Button">
<Setter Property="FontFamily" Value="Verdana" />
<Setter Property="FontSize" Value="36" />
</Style>
</Application.Resource>
This is the programming code that is used to apply the style to a particular Button.
<Button Style="{StaticResource app_button}" Content="app_button" ></Button>

All silverlight Questions

Ask your interview questions on silverlight

Write Your comment or Questions if you want the answers on silverlight from silverlight Experts
Name* :
Email Id* :
Mob no* :
Question
Or
Comment* :
 





Disclimer: PCDS.CO.IN not responsible for any content, information, data or any feature of website. If you are using this website then its your own responsibility to understand the content of the website

--------- Tutorials ---