Gets the Column by the its Index.

Namespace: Dapfor.Net.Ui
Assembly: Dapfor.Net (in Dapfor.Net.dll) Version: 2.10.3.24917 (2.10.3.24917)

Syntax

C#
public Column this[
	int indexId
] { get; }
Visual Basic
Public ReadOnly Default Property Item ( 
	indexId As Integer
) As Column
	Get
Visual C++
public:
property Column^ default[int indexId] {
	Column^ get (int indexId);
}
F#
member Item : Column with get

Parameters

indexId
Type: System..::..Int32

Property Value

Type: Column
The Column if found. Otherwise null

Remarks

When a column is added, the Header attributes an Index, which normally is not changed even the Column is moved or changes visibility. Note, that the Index may be different from the VisibleIndex. The Index is used to show the data is Cell when the IDataAccessor does not support string identifiers (The SupportsIdentifiers property of IDataAccessor returns false). In the other words, when the types like object[] or IList are added to the Grid

See Also