WindowsFormsApplicationBase.EnableVisualStyles Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

Determines whether this application will use the Windows XP styles for windows, controls, and so on.

Namespace:   Microsoft.VisualBasic.ApplicationServices
Assembly:  Microsoft.VisualBasic (in Microsoft.VisualBasic.dll)

protected bool EnableVisualStyles { get; set; }

Property Value

Type: System.Boolean

A Boolean value that indicates whether this application will use the XP Windows styles for windows, controls, and so on.

The OnInitialize method uses this property to determine whether to call EnableVisualStyles.

.NET Framework
Available since 2.0
Return to top
Show: