Share via


IItemContainerMapping Interface

Definition

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

public interface class IItemContainerMapping
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(3017816626, 60035, 22054, 191, 218, 211, 39, 161, 199, 85, 12)]
struct IItemContainerMapping
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(3017816626, 60035, 22054, 191, 218, 211, 39, 161, 199, 85, 12)]
public interface IItemContainerMapping
Public Interface IItemContainerMapping
Derived
Attributes

Methods

ContainerFromIndex(Int32)

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

ContainerFromItem(Object)

Returns the container corresponding to the specified item.

IndexFromContainer(DependencyObject)

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

ItemFromContainer(DependencyObject)

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

Applies to