Edit

Share via


ItemContainerGenerator.ContainerFromIndex(Int32) Method

Definition

Returns the element corresponding to the item at the given index within the ItemCollection.

public:
 System::Windows::DependencyObject ^ ContainerFromIndex(int index);
public System.Windows.DependencyObject ContainerFromIndex (int index);
member this.ContainerFromIndex : int -> System.Windows.DependencyObject
Public Function ContainerFromIndex (index As Integer) As DependencyObject

Parameters

index
Int32

The index of the desired item.

Returns

Returns the element corresponding to the item at the given index within the ItemCollection or returns null if the item is not realized.

Applies to

See also