Share via


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 中的索引。

适用于