Udostępnij za pośrednictwem


ContainerContentChangingEventArgs Class

Definition

Provides data for the ContainerContentChanging event.

public ref class ContainerContentChangingEventArgs sealed
/// [Windows.Foundation.Metadata.Activatable(65536, Windows.Foundation.UniversalApiContract)]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class ContainerContentChangingEventArgs final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
/// [Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
class ContainerContentChangingEventArgs final
[Windows.Foundation.Metadata.Activatable(65536, typeof(Windows.Foundation.UniversalApiContract))]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class ContainerContentChangingEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
[Windows.Foundation.Metadata.Activatable(65536, "Windows.Foundation.UniversalApiContract")]
public sealed class ContainerContentChangingEventArgs
Public NotInheritable Class ContainerContentChangingEventArgs
Inheritance
Object Platform::Object IInspectable ContainerContentChangingEventArgs
Attributes

Windows requirements

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

Constructors

ContainerContentChangingEventArgs()

Initializes a new instance of the ContainerContentChangingEventArgs class.

Properties

Handled

Gets or sets a value that marks the routed event as handled. A true value for Handled prevents most handlers along the event route from handling the same event again.

InRecycleQueue

Gets a value that indicates whether this container is in the recycle queue of the ListViewBase and is not being used to visualize a data item.

Item

Gets the data item associated with this container.

ItemContainer

Gets the UI container used to display the current data item.

ItemIndex

Gets the index in the ItemsSource of the data item associated with this container.

Phase

Gets the number of times this container and data item pair has been called.

Methods

RegisterUpdateCallback(TypedEventHandler<ListViewBase,ContainerContentChangingEventArgs>)

Registers the event handler to be called again during the next phase.

RegisterUpdateCallback(UInt32, TypedEventHandler<ListViewBase,ContainerContentChangingEventArgs>)

Registers the event handler to be called again during the specified phase.

Applies to

See also