Gets the index of the column within the Header. Usually it indicates the order in which the Column has been inserted.

Namespace: Dapfor.Wpf.Controls
Assembly: Dapfor.Wpf (in Dapfor.Wpf.dll) Version: (


public int Index { get; }
Visual Basic
Public ReadOnly Property Index As Integer
Visual C++
property int Index {
	int get ();
member Index : int with get

Property Value

Type: Int32
The index of the Column.


When a Column is added to a Header, it can find not only by identifier, but also by Index. The index does not specify the visible position of the Column. It indicates the order in which it has been inserted. This Index is not changed when the user moves, hides or shows Columns. Only the VisibleIndex is changed. This feature permits to access and index the IDataField of IDataAccessors that do not support identifiers. For example IList objects are inserted into the rows of the GridControl.

See Also