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
public DrawItemState State {get;}
public: __property DrawItemState get_State();
public function get State() : DrawItemState;

Property Value

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


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


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