ViewTabCommandId Enum
Lists commands contained in the View tab.
Declaration
export enum ViewTabCommandId {
SwitchToSimpleView = 405,
SwitchToPrintLayout = 406,
ToggleShowHorizontalRuler = 94,
ToggleFullScreen = 98
}
Members
Name | Description |
---|---|
SwitchToPrintLayout
|
A command that displays the current document in the print layout view mode. |
SwitchToSimpleView
|
A command that displays the current document in the simple view mode. |
ToggleFullScreen
|
A command that toggles full screen mode. |
ToggleShowHorizontalRuler
|
A command that toggles the horizontal ruler's visibility. |
Remarks
Pass the ViewTabCommandId
‘s field to the executeCommand(commandId) method to execute a command:
richEdit.executeCommand(DevExpress.RichEdit.ViewTabCommandId.ToggleFullScreen);
The ViewTabItemId enum contains identifiers of the View tab’s ribbon items. Use an identifier to get the corresponding item and then insert it into a tab or remove the item from the View tab.
See Also