Export (0) Print
Expand All

CreateParams.ClassStyle Property

Gets or sets a bitwise combination of class style values.

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

Property Value

A bitwise combination of the class style values.

Remarks

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.

Requirements

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

Show:
© 2015 Microsoft