IList.Item Property
Collapse the table of content
Expand the table of content

ColumnDefinitionCollection.IList.Item Property (Int32)

 

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

For a description of this member, see IList.Item.

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.

Exception Condition
ArgumentOutOfRangeException

index is not a valid index position in the list.

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

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

.NET Framework
Available since 3.0
Return to top
Show:
© 2016 Microsoft