Silverlight 3 : How to apply a style to all controls of a particular type(ex:TextBlock) ? I know that it is possible in WPF but how about silverlight?
for example this my style
<Style x:Key="TextBlockStyle1" TargetType="TextBlock">
<Setter Property="FontWeight" Value="Bold"/>
</Style>
I tried removing the x:Key="TextBlockStyle1" and made it like the following
<Style TargetType="TextBlock">
<Setter Property="FontWeight" Value="Bold"/>
</Style>
this did not work, bold is not applied to textblocks :(. Any help is appreciated.