WindowsFormsApplicationBase.EnableVisualStyles プロパティ

定義

このアプリケーションがウィンドウ、コントロールなどのWindows XP スタイルを使用するかどうかを決定します。

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

プロパティ値

このアプリケーションが xp Windows スタイルをwindowsやコントロールなどのために使用するかどうかを示す Boolean 値。

注釈

OnInitialize メソッドは、このプロパティを使用して、EnableVisualStylesを呼び出すかどうかを判断します。

適用対象

こちらもご覧ください