CreateParams.ClassName Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

Public Property ClassName As String

Property Value

Type: System.String

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

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".

.NET Framework
Available since 1.1
Return to top
Show: