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