Reputation: 1332
How to apply a style to all Controls of the same type (Buttons for example)? without specifying the style every time Control declared in XAML. Ie I want to specify the style once for all the buttons. Is it possible?
Upvotes: 0
Views: 770
Reputation: 24302
just put it without key
<Style TargetType="{x:Type Button}">
</Style>
Upvotes: 4