UI_EXECUTIONVERB enumeration (uiribbon.h)
Specifies values that identify the execution IDs that map to actions a user can initiate on a Command.
Syntax
typedef enum UI_EXECUTIONVERB {
UI_EXECUTIONVERB_EXECUTE = 0,
UI_EXECUTIONVERB_PREVIEW = 1,
UI_EXECUTIONVERB_CANCELPREVIEW = 2
} ;
Constants
UI_EXECUTIONVERB_EXECUTE Value: 0 Execute a command. |
UI_EXECUTIONVERB_PREVIEW Value: 1 Show a preview of a visual element. |
UI_EXECUTIONVERB_CANCELPREVIEW Value: 2 Cancel a preview of a visual element. |
Remarks
In the Ribbon framework, user actions are called executions.
For example, if a user hovers the mouse over a gallery item, UI_EXECUTIONVERB_PREVIEW is passed in a call to the IUICommandHandler::Execute function of the gallery to indicate that a live preview event occurred on the item. If the user clicks the gallery item, UI_EXECUTIONVERB_EXECUTE is passed in a subsequent call to the IUICommandHandler::Execute function to indicate that the item was executed.
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 |