This documentation is archived and is not being maintained.

DrawItemEventArgs.State Property

Gets the state of the item being drawn.

[Visual Basic]
Public ReadOnly Property State As DrawItemState
[C#]
public DrawItemState State {get;}
[C++]
public: __property DrawItemState get_State();
[JScript]
public function get State() : DrawItemState;

Property Value

The DrawItemState that represents the state of the item being drawn.

Remarks

This property value can be a combination of the DrawItemState enumeration members. The members can be combined using bitwise operators.

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

DrawItemEventArgs Class | DrawItemEventArgs Members | System.Windows.Forms Namespace | DrawItemState

Show: