Method IndexOf
IndexOf(ColumnDefinition)
Returns the index position of a given ColumnDefinition within a GridColumnCollection.
public int IndexOf(ColumnDefinition value)
Parameters
value
ColumnDefinitionThe ColumnDefinition whose index position is desired.
Returns
- int
The index of
value
if found in the collection; otherwise, -1.