RowDefinitionCollection::Item Property (Int32)

 

Gets a value that indicates the current item within a RowDefinitionCollection.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public:
property RowDefinition^ default[
	int index
] {
	virtual RowDefinition^ get(int index) sealed;
	virtual void set(int index, RowDefinition^ value) sealed;
}

Parameters

index
Type: System::Int32

The current item in the collection.

Property Value

Type: System.Windows.Controls::RowDefinition^

The element at the specified index.

Exception Condition
ArgumentOutOfRangeException

index is not a valid index position in the collection.

RowDefinitionCollection uses a zero-based indexing system.

.NET Framework
Available since 3.0
Return to top
Show: