Udostępnij za pośrednictwem


IItemContainerMapping Interface

Definition

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

public interface class IItemContainerMapping
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(1405743674, 62045, 17514, 153, 184, 199, 174, 184, 57, 5, 15)]
struct IItemContainerMapping
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(1405743674, 62045, 17514, 153, 184, 199, 174, 184, 57, 5, 15)]
public interface IItemContainerMapping
Public Interface IItemContainerMapping
Derived
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

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