System.Windows.Forms.CreateParams.ClassStyle Property

Gets or sets a bitwise combination of class style values.


public int ClassStyle { set; get; }


Documentation for this section has not yet been entered.


The CreateParams.ClassStyle property is ignored if the CreateParams.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.


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


Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0,