WindowsFormsApplicationBase.EnableVisualStyles Property      
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Determines whether this application will use the Windows XP styles for windows, controls, and so on.
protected:
 property bool EnableVisualStyles { bool get(); void set(bool value); };protected bool EnableVisualStyles { get; set; }member this.EnableVisualStyles : bool with get, setProtected Property EnableVisualStyles As BooleanProperty Value
A Boolean value that indicates whether this application will use the XP Windows styles for windows, controls, and so on.
Remarks
The OnInitialize method uses this property to determine whether to call EnableVisualStyles.