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, set
Protected Property EnableVisualStyles As Boolean
Property 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.
Applies to
See also
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.