UI_COMMANDTYPE enumeration (uiribbon.h)

Specifies values that identify the type of Command associated with a Ribbon control.

Syntax

typedef enum UI_COMMANDTYPE {
  UI_COMMANDTYPE_UNKNOWN = 0,
  UI_COMMANDTYPE_GROUP = 1,
  UI_COMMANDTYPE_ACTION = 2,
  UI_COMMANDTYPE_ANCHOR = 3,
  UI_COMMANDTYPE_CONTEXT = 4,
  UI_COMMANDTYPE_COLLECTION = 5,
  UI_COMMANDTYPE_COMMANDCOLLECTION = 6,
  UI_COMMANDTYPE_DECIMAL = 7,
  UI_COMMANDTYPE_BOOLEAN = 8,
  UI_COMMANDTYPE_FONT = 9,
  UI_COMMANDTYPE_RECENTITEMS = 10,
  UI_COMMANDTYPE_COLORANCHOR = 11,
  UI_COMMANDTYPE_COLORCOLLECTION = 12
} ;

Constants

 
UI_COMMANDTYPE_UNKNOWN
Value: 0
The type of command is not known.
UI_COMMANDTYPE_GROUP
Value: 1
Group
UI_COMMANDTYPE_ACTION
Value: 2
Button



Help Button
UI_COMMANDTYPE_ANCHOR
Value: 3
Application Menu



Drop-Down Button



Split Button



Tab
UI_COMMANDTYPE_CONTEXT
Value: 4
Tab Group
UI_COMMANDTYPE_COLLECTION
Value: 5
Combo Box



Drop-Down Gallery



In-Ribbon Gallery



Split Button Gallery
UI_COMMANDTYPE_COMMANDCOLLECTION
Value: 6
Drop-Down Gallery



In-Ribbon Gallery



Quick Access Toolbar



Split Button Gallery
UI_COMMANDTYPE_DECIMAL
Value: 7
Spinner
UI_COMMANDTYPE_BOOLEAN
Value: 8
Toggle Button



Check Box
UI_COMMANDTYPE_FONT
Value: 9
Font Control
UI_COMMANDTYPE_RECENTITEMS
Value: 10
Recent Items
UI_COMMANDTYPE_COLORANCHOR
Value: 11
Drop-Down Color Picker
UI_COMMANDTYPE_COLORCOLLECTION
Value: 12
This Command type is not supported by any framework controls.

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