Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ViewTabCommandId Enum

Lists commands contained in the View tab.

#Declaration

TypeScript
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