System.Windows.Forms.CreateParams.Style Property

Gets or sets a bitwise combination of window style values.


public int Style { set; get; }


Documentation for this section has not yet been entered.


The CreateParams.Style property controls the appearance of the control and its initial state.

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,