IItemContainerMapping 介面

定義

提供方法,讓 ItemsControl 將數據項對應至 UI 容器。

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
衍生
屬性

方法

ContainerFromIndex(Int32)

傳回 ItemCollection 內指定索引處專案的容器。

ContainerFromItem(Object)

傳回對應至指定專案的容器。

IndexFromContainer(DependencyObject)

將索引傳回至具有指定且產生的容器的專案。

ItemFromContainer(DependencyObject)

傳回對應至指定之產生的容器的專案。

適用於