RowDefinitionCollection.IList.Item Property (Int32)


This API supports the product infrastructure and is not intended to be used directly from your code.

Gets or sets the element at the specified index.

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

object IList.this[
	int index
] { get; set; }


Type: System.Int32

The zero-based index of the element to get or set.

Property Value

Type: System.Object

The element at the specified index.

Exception Condition

index is not a valid index position in the list.

This property provides the ability to access a specific element in the collection by using the following syntax: myCollection[index].

This member is an explicit interface member implementation. It can be used only when the RowDefinitionCollection instance is cast to an IList interface.

.NET Framework
Available since 3.0
Return to top