NotifyCollectionChangedAction 枚举

定义

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

public enum class NotifyCollectionChangedAction
public enum NotifyCollectionChangedAction
type NotifyCollectionChangedAction = 
Public Enum NotifyCollectionChangedAction
继承
NotifyCollectionChangedAction

字段

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.

适用于

另请参阅