UI_COLLECTIONCHANGE enumeration (uiribbon.h)

Specifies values that identify the types of changes that can be made to a collection.

Syntax

typedef enum UI_COLLECTIONCHANGE {
  UI_COLLECTIONCHANGE_INSERT = 0,
  UI_COLLECTIONCHANGE_REMOVE = 1,
  UI_COLLECTIONCHANGE_REPLACE = 2,
  UI_COLLECTIONCHANGE_RESET = 3
} ;

Constants

 
UI_COLLECTIONCHANGE_INSERT
Value: 0
Insert an item into the collection.
UI_COLLECTIONCHANGE_REMOVE
Value: 1
Delete an item from the collection.
UI_COLLECTIONCHANGE_REPLACE
Value: 2
Replace an item in the collection.
UI_COLLECTIONCHANGE_RESET
Value: 3
Delete all items from the collection.

Requirements

Requirement Value
Minimum supported client Windows 7, Windows Vista with SP2 and Platform Update for Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 R2, Windows Server 2008 with SP2 and Platform Update for Windows Server 2008 [desktop apps only]
Header uiribbon.h

See also

Constants and Enumerations

IUICollectionChangedEvent::OnChanged