Specifies how visual styles are applied to the current application.
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Visual styles are applied to client and nonclient areas.
Visual styles are applied only to the client area.
Visual styles are applied only to the nonclient area.
Visual styles are not applied to the application.
This enumeration is used by the Application.VisualStyleState property to specify whether visual styles are applied to client or nonclient areas of application windows.
The following code example is a simple program that applies visual styles in each of the four areas specified by thevalues. To enable visual styles in a certain area, click the option button (also known as a radio button) that represents the area you want to enable, and click the Update VisualStyleState button to observe the changes in the window.
Available since 2.0