CreateParams.ClassStyle Property

 

Gets or sets a bitwise combination of class style values.

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

public int ClassStyle { get; set; }

Property Value

Type: System.Int32

A bitwise combination of the class style values.

The ClassStyle property is ignored if the ClassName property is not null.

For more information about creating control parameters, see the CreateWindow and CreateWindowEx functions and the CREATESTRUCT structure documentation in the Windows Platform SDK reference located in the MSDN Library.

System_CAPS_noteNote

The constants used to set the Style, ExStyle, and ClassStyle properties are defined in the Winuser.h header file. This file is installed by the Platform SDK or Visual Studio.

.NET Framework
Available since 1.1
Return to top
Show: