Can any one explain what OverridesDefaultStyle
actually does to a control? I have read MSDN, but it is not clear.
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