ChoosingItemContainerEventArgs 類別

定義

提供 ListViewBase.ChoosingItemContainer 事件的事件數據。

public ref class ChoosingItemContainerEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ChoosingItemContainerEventArgs final
[Windows.Foundation.Metadata.Activatable(65536, "Microsoft.UI.Xaml.WinUIContract")]
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ChoosingItemContainerEventArgs
Public NotInheritable Class ChoosingItemContainerEventArgs
繼承
Object Platform::Object IInspectable ChoosingItemContainerEventArgs
屬性

建構函式

ChoosingItemContainerEventArgs()

初始化 ChoosingItemContainerEventArgs 類別的新實例。

屬性

IsContainerPrepared

取得或設定值,這個值表示容器是否可供使用。

Item

取得與此 ItemContainer 相關聯的數據項。

ItemContainer

取得或設定將用來顯示目前數據項的UI容器。

ItemIndex

取得正在選取容器之數據項 之 ItemsSource 中的索引。

適用於