- About us
In Silverlight2.0 controls can be customized in a similar way to that of using CSS in HTML,Silverlight 2.0 allows us to define a group of properties as a Custom Style and later on apply the Custom Style to a controls or more controls.The styles are defined as resource at the application level (app.xaml) or a page level (e.g. Page.xaml).
For example we can define the style in app.xaml page as follows.
The above style targets to TextBox controls. Now , you can set the style to the Style property of the TextBox control in the page level as follows.