Styles and Templates in Silverlight

Styles This post has very short code snippets to explain the styles and templates in Silverlight. Styles are used to set the properties of a UI control. For example this shows the inline style setting of a Button control. <Button Content="Direct Styling" Height="30" Margin="12,73,298,197" Width="90"> <Button.Style> <Style TargetType="Button"> <Setter Property="Background" Value="DarkOrange"/> <Setter Property="BorderBrush" Value="Blue"/> </Style> … Continue reading Styles and Templates in Silverlight