IItemContainerMapping IItemContainerMapping IItemContainerMapping IItemContainerMapping Interface

Definition

Provides methods that let an ItemsControl map data items to UI containers.

public : interface IItemContainerMapping
struct winrt::Windows::UI::Xaml::Controls::IItemContainerMapping
public interface IItemContainerMapping
Public Interface IItemContainerMapping
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Methods

ContainerFromIndex(Int32) ContainerFromIndex(Int32) ContainerFromIndex(Int32) ContainerFromIndex(Int32)

Returns the container for the item at the specified index within the ItemCollection.

ContainerFromItem(Object) ContainerFromItem(Object) ContainerFromItem(Object) ContainerFromItem(Object)

Returns the container corresponding to the specified item.

IndexFromContainer(DependencyObject) IndexFromContainer(DependencyObject) IndexFromContainer(DependencyObject) IndexFromContainer(DependencyObject)

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

ItemFromContainer(DependencyObject) ItemFromContainer(DependencyObject) ItemFromContainer(DependencyObject) ItemFromContainer(DependencyObject)

Returns the item that corresponds to the specified, generated container.