Udostępnij za pośrednictwem


ItemsChangedEventArgs Class

Definition

Provides data for the ItemsChanged event.

public ref class ItemsChangedEventArgs sealed
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class ItemsChangedEventArgs final
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class ItemsChangedEventArgs
Public NotInheritable Class ItemsChangedEventArgs
Inheritance
Object Platform::Object IInspectable ItemsChangedEventArgs
Attributes

Properties

Action

Gets the action that occurred on the items collection.

ItemCount

Gets the number of items that were involved in the change.

ItemUICount

Gets the number of UI elements involved in the change.

OldPosition

Gets the position in the collection before the change occurred.

Position

Gets the position in the collection where the change occurred.

Applies to

See also