ChoosingItemContainerEventArgs Class

Definition

Provides event data for the ListViewBase.ChoosingItemContainer event.

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
Inheritance
Object Platform::Object IInspectable ChoosingItemContainerEventArgs
Attributes

Constructors

ChoosingItemContainerEventArgs()

Initializes a new instance of the ChoosingItemContainerEventArgs class.

Properties

IsContainerPrepared

Gets or sets a value that indicates whether the container is ready for use.

Item

Gets the data item associated with this ItemContainer.

ItemContainer

Gets or sets the UI container that will be used to display the current data item.

ItemIndex

Gets the index in the ItemsSource of the data item for which a container is being selected.

Applies to