Bewerken

Delen via


WindowsFormsApplicationBase.EnableVisualStyles Property

Definition

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