Skip to main content
All docs
V26.1
  • HomeTabCommandId Enum

    Lists commands contained in the Home tab.

    Declaration

    export enum HomeTabCommandId {
        ChangeCaseMenu = 431,
        AlignParagraphMenu = 432,
        LineSpacingMenu = 433,
        Undo = 6,
        Redo = 7,
        Cut = 10,
        Copy = 9,
        Paste = 8,
        ChangeFontName = 11,
        ChangeFontSize = 13,
        IncreaseFontSize = 14,
        DecreaseFontSize = 15,
        ChangeFontForeColor = 28,
        ShowFontDialog = 52,
        ToggleFontBold = 20,
        ToggleFontItalic = 21,
        ToggleFontUnderline = 22,
        ToggleFontStrikeout = 24,
        ToggleFontSubscript = 27,
        ToggleFontSuperscript = 26,
        CapitalizationSentenceCase = 207,
        CapitalizationUpperCase = 16,
        CapitalizationLowerCase = 17,
        CapitalizeEachWordCase = 18,
        CapitalizationToggleCase = 19,
        ClearFormatting = 30,
        ToggleBulletedList = 31,
        ToggleNumberedList = 32,
        ToggleMultilevelList = 33,
        ToggleParagraphAlignmentLeft = 37,
        ToggleParagraphAlignmentCenter = 38,
        ToggleParagraphAlignmentRight = 39,
        ToggleParagraphAlignmentJustify = 40,
        ToggleShowHiddenSymbols = 36,
        SetSingleParagraphSpacing = 41,
        SetSesquialteralParagraphSpacing = 42,
        SetDoubleParagraphSpacing = 43,
        AddSpacingBeforeParagraph = 45,
        AddSpacingAfterParagraph = 46,
        RemoveSpacingBeforeParagraph = 47,
        RemoveSpacingAfterParagraph = 48,
        ChangeShading = 49,
        ChangeStyle = 12,
        Find = 50,
        Replace = 51,
        ChangeFontHighlightColor = 29,
        ToggleFontDoubleUnderline = 23
    }

    Members

    Name Description
    AddSpacingAfterParagraph

    A command that adds spacing after a paragraph.

    AddSpacingBeforeParagraph

    A command that adds spacing before a paragraph.

    AlignParagraphMenu

    A command that shows the Align Paragraph menu.

    CapitalizationLowerCase

    A command that changes the selected text to lowercase.

    CapitalizationSentenceCase

    A command that changes the selected text to sentence case.

    CapitalizationToggleCase

    A command that toggles letters in the selected text between uppercase and lowercase.

    CapitalizationUpperCase

    A command that changes the selected text to uppercase.

    CapitalizeEachWordCase

    A command that capitalizes each word in the selected text.

    ChangeCaseMenu

    A command that shows the Change Case menu.

    ChangeFontForeColor

    A command that changes the font color of the selected text.

    ChangeFontHighlightColor

    A command that changes the font highlight color of the selected text.

    ChangeFontName

    A command that changes the font name of the selected text.

    ChangeFontSize

    A command that changes the font size of the selected text.

    ChangeShading

    A command that changes the color behind the selected text, paragraph or table cell.

    ChangeStyle

    A command that applies character or paragraph style settings to the selected text.

    ClearFormatting

    A command that resets the format of the selected text to default values.

    Copy

    A command that copies the selected text to the clipboard.

    Cut

    A command that cuts the selected text and place it in the clipboard.

    DecreaseFontSize

    A command that decreases the selected text’s font size to the closest smaller predefined value.

    Find

    A command that shows a search panel.

    IncreaseFontSize

    A command that increases the selected text’s font size to the closest larger predefined value.

    LineSpacingMenu

    A command that shows the Line Spacing menu.

    Paste

    A command that pastes the text from the clipboard over the selection.

    Redo

    A command that redoes the last undone action.

    RemoveSpacingAfterParagraph

    A command that removes spacing after a selected paragraph.

    RemoveSpacingBeforeParagraph

    A command that removes spacing before a selected paragraph.

    Replace

    A command that shows the Find and Replace dialog.

    SetDoubleParagraphSpacing

    A command that applies double line spacing to the selected paragraph.

    SetSesquialteralParagraphSpacing

    A command that applies one and a half line spacing to the selected paragraph.

    SetSingleParagraphSpacing

    A command that applies single line spacing to the selected paragraph.

    ShowFontDialog

    A command that shows the Font* dialog.

    ToggleBulletedList

    A command that toggles the bullet style of the selected paragraphs.

    ToggleFontBold

    A command that toggles the bold font style for the selected text.

    ToggleFontDoubleUnderline

    A command that toggles the double underline style for the selected text.

    ToggleFontItalic

    A command that toggles the italic font style for the selected text.

    ToggleFontStrikeout

    A command that toggles the strikeout font style for the selected text.

    ToggleFontSubscript

    A command that toggles the subscript font style for the selected text.

    ToggleFontSuperscript

    A command that toggles the superscript font style for the selected text.

    ToggleFontUnderline

    A command that toggles the underline font style for the selected text.

    ToggleMultilevelList

    A command that toggles the multilevel list style to the selected text on and off.

    ToggleNumberedList

    A command that toggles the numbered list style to the selected text on and off.

    ToggleParagraphAlignmentCenter

    A command that toggles centered paragraph alignment on and off.

    ToggleParagraphAlignmentJustify

    A command that toggles justified paragraph alignment on and off.

    ToggleParagraphAlignmentLeft

    A command that toggles left paragraph alignment on and off.

    ToggleParagraphAlignmentRight

    A command that toggles right paragraph alignment on and off.

    ToggleShowHiddenSymbols

    A command that toggles the visibility of hidden symbols (for instance, paragraph mark).

    Undo

    A command that undoes the last action.

    Remarks

    Pass the HomeTabCommandId‘s field to the executeCommand(commandId) method to execute a command:

    richEdit.executeCommand(DevExpress.RichEdit.HomeTabCommandId.Undo);
    

    The HomeTabItemId enum contains identifiers of the Home 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 Home tab.

    See Also