#1,200 - Overriding a Default Style

added by DotNetKicks
2/27/2017 1:37:40 PM

1 Kicks, 211 Views

In WPF, you often set up default styles to set a series of properties on all instances of a certain type of element. Below, we set a default style that applies to all TextBlock elements, using the TargetType attribute. All properties in the style will be set for all instances of the TextBlock element.


0 comments