แก้ไข

แชร์ผ่าน


CreateParams.ClassName Property

Definition

Gets or sets the name of the Windows class to derive the control from.

public:
 property System::String ^ ClassName { System::String ^ get(); void set(System::String ^ value); };
public string ClassName { get; set; }
public string? ClassName { get; set; }
member this.ClassName : string with get, set
Public Property ClassName As String

Property Value

The name of the Windows class to derive the control from.

Remarks

The default value for this property is null, indicating that the control is not derived from an existing control class. To derive from an existing control class, store the system class name in this property. For example, to derive from the standard Button control, set this property to "BUTTON".

Applies to