Design-time Filter
In order to offer fine-grained control over whether specific controls are enhanced, VisualStyles offers a design-time component called VisualStyleFilter, which adds a VisualStyleEnhanced property to each control on the form which VisualStyles can enhance.

Since all controls are enhanced by default, using this component is completely optional. If you used VisualStyles version 1.0, you no doubt are used to adding a VisualStyleProvider to each form to enhance your controls. This is no longer necessary.

The On setting forces the control to be enhanced. The Off setting forces the control to not be enhanced. You can change the value of the Default setting by adding a single line to your application startup code:

C#
VisualStyleFilter.SetEnhancedDefault(false);
You can also set the default value for all controls of a specific type like this:
C#
VisualStyleFilter.SetEnhancedDefault(typeof(MyCustomButton), false);
Close