OverridesDefaultStyle in WPF OverridesDefaultStyle in WPF wpf wpf

OverridesDefaultStyle in WPF


It is used to ignore the default style of a control. By default, if you put a control in your UI, all the properties that are not set locally (explicitly or with a custom style) will take their value from the default style. If you set OverridesDefaultStyle to true, the default style won't be used