Questions tagged [basedon]

.NET function which gets or sets a defined style that is the basis of the current style.

Style.BasedOn Property is used in WPF Styles to inherit a control style and add some extra attributes to create a new style which is basedon parent style.

32 questions
41
votes
2 answers

How to extend instead of overriding WPF Styles

I want to use custom theme in my application and as far as I know I can accomplish this by using resource dictionary and referencing it in App.xaml. Styles would override the defaults like this: