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!

ButtonState Enumeration

Specifies the appearance of a button.

[Visual Basic]
Public Enum ButtonState
[C#]
public enum ButtonState
[C++]
public enum ButtonState

[JScript] In JScript, you can use the enumerations in the NGWS frameworks, but you cannot define your own.

Members

Member Name Description
ALL All viable flags in the bit mask are used.
Checked The button has a checked or latched appearance. Use this appearance to show that a toggle button has been pressed.
Flat The button has a flat, two-dimensional appearance.
Inactive The button is inactive (grayed).
Normal The button has its normal appearance (three-dimensional and not pressed).
Pushed The button is currently pressed.

Requirements

Namespace: System.WinForms

Assembly: System.WinForms.dll

See Also

System.WinForms Namespace | Graphics