Export (0) Print
Expand All

UI_COMMANDTYPE enumeration

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
} UI_COMMANDTYPE;

Constants

UI_COMMANDTYPE_UNKNOWN

The type of command is not known.

UI_COMMANDTYPE_GROUP

Group

UI_COMMANDTYPE_ACTION

Button

Help Button

UI_COMMANDTYPE_ANCHOR

Application Menu

Drop-Down Button

Split Button

Tab

UI_COMMANDTYPE_CONTEXT

Tab Group

UI_COMMANDTYPE_COLLECTION

Combo Box

Drop-Down Gallery

In-Ribbon Gallery

Split Button Gallery

UI_COMMANDTYPE_COMMANDCOLLECTION

Drop-Down Gallery

In-Ribbon Gallery

Quick Access Toolbar

Split Button Gallery

UI_COMMANDTYPE_DECIMAL

Spinner

UI_COMMANDTYPE_BOOLEAN

Toggle Button

Check Box

UI_COMMANDTYPE_FONT

Font Control

UI_COMMANDTYPE_RECENTITEMS

Recent Items

UI_COMMANDTYPE_COLORANCHOR

Drop-Down Color Picker

UI_COMMANDTYPE_COLORCOLLECTION

This Command type is not supported by any framework controls.

Requirements

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

IDL

Uiribbon.idl

See also

Constants and Enumerations

 

 

Community Additions

ADD
Show:
© 2014 Microsoft