[]
        
(Showing Draft Content)

C1.WPF.FlexGrid.ColumnCollection.IndexOf

IndexOf Method

IndexOf(string)

Gets the index of the column with a given name in the collection.

Declaration
public int IndexOf(string colName)
Parameters
Type Name Description
string colName

ColumnName to look for.

Returns
Type Description
int

The index of the column, or -1 if the collection does not contain any columns with the given name.