This documentation is archived and is not being maintained.

CreateParams.ClassStyle Property

Gets or sets a bitwise combination of class style values.

[Visual Basic]
Public Property ClassStyle As Integer
public int ClassStyle {get; set;}
public: __property int get_ClassStyle();
public: __property void set_ClassStyle(int);
public function get ClassStyle() : int;
public function set ClassStyle(int);

Property Value

A bitwise combination of the class style values.


The ClassStyle property is ignored if the ClassName property is not a null reference (Nothing in Visual Basic).

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.

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


Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CreateParams Class | CreateParams Members | System.Windows.Forms Namespace | Style | ExStyle