RowDefinitionCollection::IndexOf Method (RowDefinition^)
.NET Framework (current version)
Returns the index position of a given RowDefinition within a RowDefinitionCollection.
Assembly: PresentationFramework (in PresentationFramework.dll)
Parameters
- value
-
Type:
System.Windows.Controls::RowDefinition^
The RowDefinition 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 RowDefinition within a RowDefinitionCollection.
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: