If you want to replace the default style of a control you can define a
"typed style". A typed style only has an implicit key. The key is the
Type
object of the TargetType. All controls beneath the definition will inherit the style automatically.<Style TargetType="Button"> <Setter Property="FontWeight" Value="Bold" /> </Style>
No comments:
Post a Comment