IItemContainerMapping.IndexFromContainer(DependencyObject) IItemContainerMapping.IndexFromContainer(DependencyObject) IItemContainerMapping.IndexFromContainer(DependencyObject) IItemContainerMapping.IndexFromContainer(DependencyObject) Method

Definition

Returns the index to the item that has the specified, generated container.

public : int IndexFromContainer(DependencyObject container)
int32_t IndexFromContainer(DependencyObject container) const;
public int IndexFromContainer(DependencyObject container)
Public Function IndexFromContainer(container As DependencyObject) As int

Parameters

container
DependencyObject DependencyObject

The generated container to retrieve the item index for.

Returns

int int

The index to the item that corresponds to the specified generated container.