ColumnDefinitionCollection::IndexOf Method (ColumnDefinition^)
.NET Framework (current version)
Returns the index position of a given ColumnDefinition within a ColumnDefinitionCollection.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- value
-
Type:
System.Windows.Controls::ColumnDefinition^
The ColumnDefinition whose index position is desired.
Implements
IList<T>::IndexOf(T)The following example demonstrates how to use the IndexOf method to determine the index position of a ColumnDefinition within a ColumnDefinitionCollection.
To view the complete sample, see How to: Manipulate Columns and Rows by Using ColumnDefinitionsCollections and RowDefinitionsCollections.
.NET Framework
Available since 3.0
Available since 3.0
Show: