Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
IList.Item Property

RowDefinitionCollection.IList.Item Property

This API supports the .NET Framework 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; }

Parameters

index
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.

Implements

IList.Item

ExceptionCondition
ArgumentOutOfRangeException

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

Supported in: 4.6, 4.5, 4, 3.5, 3.0

.NET Framework Client Profile

Supported in: 4, 3.5 SP1
Show:
© 2015 Microsoft