CreateParams.ClassStyle 屬性

定義

取得或設定類別樣式值的位元組合。

public:
 property int ClassStyle { int get(); void set(int value); };
public int ClassStyle { get; set; }
member this.ClassStyle : int with get, set
Public Property ClassStyle As Integer

屬性值

Int32

類別樣式值的位元組合。

備註

如果 ClassName 屬性不是 null ,則會 ClassStyle 忽略 屬性。

如需建立控制項參數的詳細資訊,請參閱 CreateWindow 宏CreateWindowEx 函式CREATESTRUCT 結構

注意

用來設定 、 ExStyleClassStyle 屬性的 Style 常數定義于 Winuser.h 標頭檔中。 此檔案是由 Platform SDK 或 Visual Studio 所安裝。

適用於

另請參閱