NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

Control.GetStyle

Retrieves the current value of the specified bit in the control's style. NOTE: This is control style, not the Win32 style of the hwnd.

[Visual Basic]
Protected Function GetStyle( _
   ByVal flag As ControlStyles _
) As Boolean
[C#]
protected bool GetStyle(
   ControlStyles flag
);
[C++]
protected: bool GetStyle(
   ControlStyles flag
);
[JScript]
protected function GetStyle(
   flag : ControlStyles
) : Boolean;

Parameters

flag
Bit to check.

Return Value

true if flag is set in the control's style.

See Also

Control Class | Control Members | System.WinForms Namespace