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
Feedback
https://aka.ms/ContentUserFeedback.
Kommer snart: I hele 2024 udfaser vi GitHub-problemer som feedbackmekanisme for indhold og erstatter det med et nyt feedbacksystem. Du kan få flere oplysninger under:Indsend og få vist feedback om