Im trying to define a style for a label control in Silverlight/XAML/C#.
Im new to this so please excuse my ignorance.
When I wrote the below code the IDE said theat Label Supported in a silverlight project
So how do I define a style type for this Label ?
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml">
...
<Style x:Key="TitleFontStyle" TargetType="sdk:Label">
<Setter Property="Background" Value="{StaticResource ButtonBackgroundGradientBrush}" />
</Style>
</ResourceDictionary>