System.Windows.Forms.DrawItemEventArgs.Index Property

Gets the index value of the item that is being drawn.

Syntax

public int Index { get; }

Value

Documentation for this section has not yet been entered.

Remarks

This property returns the System.Windows.Forms.Control.ControlCollection.Item(int) value of the item being drawn in the System.Windows.Forms.Control.ControlCollection. This property can return -1 if items were removed from the list.

Requirements

Namespace: System.Windows.Forms
Assembly: System.Windows.Forms (in System.Windows.Forms.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0