Name
ButtonState
Synopsis
This enumeration is used by various ControlPaint
methods that deal with drawing buttons, to specify the state in which
the button imagery should be drawn.
public enum ButtonState { Normal = 0x00000000, Inactive = 0x00000100, Pushed = 0x00000200, Checked = 0x00000400, Flat = 0x00004000, All = 0x00004700 }
Hierarchy
System.Object
→ System.ValueType → System.Enum(System.IComparabl,
System.IFormattable
,
System.IConvertible)
→ ButtonState
Passed To
ControlPaint.{DrawButton()
,
DrawCaptionButton()
, DrawCheckBox()
, DrawComboButton()
,
DrawMixedCheckBox()
, DrawRadioButton()
, DrawScrollButton()}
Get .NET Windows Forms in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.