NotifyCollectionChangedAction Enum

Definition

描述导致 CollectionChanged 事件的操作。Describes the action that caused a CollectionChanged event.

public enum class NotifyCollectionChangedAction
public enum NotifyCollectionChangedAction
type NotifyCollectionChangedAction = 
Public Enum NotifyCollectionChangedAction
Inheritance
NotifyCollectionChangedAction

Fields

Add 0

项已添加到集合中。An item was added to the collection.

Move 3

已在集合内移动项。An item was moved within the collection.

Remove 1

已从集合中删除项。An item was removed from the collection.

Replace 2

已在集合中替换项。An item was replaced in the collection.

Reset 4

集合的内容发生显著更改。The contents of the collection changed dramatically.

Applies to

See also