Constants and Enumerations

Reference documentation for the Windows Ribbon framework constants and enumerations.

Constants and Enumerations

Constant Description
UI_ALL_COMMANDS
Specifies a constant that identifies the collection of Commands declared in the Markup resource file.
UI_COLLECTION_INVALIDINDEX
Specifies a constant that identifies an invalid index in a collection.
UI_COLLECTIONCHANGE
Specifies values that identify the types of changes that can be made to a collection.
UI_COMMANDCATEGORY
Specifies values that indicate whether a Command was defined at compile time or at run time.
UI_COMMANDTYPE
Specifies values that identify the type of Command associated with a Ribbon control.
UI_CONTEXTAVAILABILITY
Specifies values that identify the availability of a contextual tab.
UI_CONTROLDOCK
Specifies values that identify the dock state of the Quick Access Toolbar (QAT).
UI_EVENTLOCATION
Identifies the locations where events associated with a Ribbon control can originate.
UI_EVENTTYPE
Identifies the types of events associated with a Ribbon.
UI_EXECUTIONVERB
Specifies values that identify the execution IDs that map to actions a user can initiate on a Command.
UI_FONTDELTASIZE
Specifies values that identify whether the font size of a highlighted text run should be incremented or decremented.
UI_FONTPROPERTIES
Specifies values that identify the font property state of a FontControl, such as Strikethrough.
UI_FONTUNDERLINE
Specifies values that identify the underline state of a FontControl.
UI_FONTVERTICALPOSITION
Specifies values that identify the vertical-alignment state of a FontControl.
UI_INVALIDATIONS
Specifies values that identify the aspect of a Command to invalidate.
UI_OWNERSHIP
Specifies values that identify the ownership conditions under which an image is created by the Ribbon framework.
UI_SWATCHCOLORMODE
Specifies whether a swatch has normal or monochrome mode.
UI_SWATCHCOLORTYPE
Specifies the values that identify how a color swatch in a DropDownColorPicker or a FontControl color picker (Text color or Text highlight) is filled.
Note: These are recommendations only. The application can associate any fill type with these values.
UI_VIEWTYPE
Specifies values that identify the Ribbon framework View.
UI_VIEWVERB
Specifies values that identify the type of action to complete on a Ribbon framework View.

Windows Ribbon Framework Reference