ColumnDefinitionCollection.Item Property (Int32)

 

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

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

public ColumnDefinition this[
	int index
] { get; set; }

Parameters

index
Type: System.Int32

The current item in the collection.

Property Value

Type: System.Windows.Controls.ColumnDefinition

The element at the specified index.

Exception Condition
ArgumentOutOfRangeException

index is not a valid index position in the collection.

ColumnDefinitionCollection uses a zero-based indexing system.

.NET Framework
Available since 3.0
Return to top
Show: