UI_PKEY_Categories

Identifies the UI_PKEY_Categories property.

propertyDescription
   name = UI_PKEY_Categories
   shellPKey = UI_PKEY_Categories
   formatID = 00000102-7363-696e-8441798acf5aebb7
   propID = 102
   typeInfo
      type = IUICollection

Remarks

UI_PKEY_Categories is used by an application to query the categories that are used to group related items in a gallery control.

The property value is an IUICollection object where each item in the collection represents a category.

Each item in this IUICollection must implement IUISimplePropertySet to expose the read-only properties associated with the item, such as the label or image.

To add or delete items in a gallery control at run time, use the various methods of IUICollection.

The following screen shot illustrates the use of two categories, Selection shapes and Selection options, in a SplitButton menu.

screen shot that shows two categories, selection shapes and selection options, in a splitbuttongallery control.

Collection Properties

UI_PKEY_CategoryId