tags:

views:

662

answers:

1

Can any one explain what OverridesDefaultStyle actually do to a control. I read MSDN, but I dont get the idea.

+3  A: 

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

Thomas Levesque