Skip to main content

TableLayoutTabCommandId Enum

Lists commands contained in the Layout tab.

Declaration

export enum TableLayoutTabCommandId {
    SelectMenu = 445,
    DeleteMenu = 446,
    InsertMenu = 447,
    AutoFitMenu = 448,
    AlignmentMenu = 449,
    SelectTableCell = 286,
    SelectTableColumn = 287,
    SelectTableRow = 288,
    SelectTable = 289,
    ToggleShowTableGridLines = 295,
    ShowDeleteCellsDialog = 253,
    DeleteTableColumns = 248,
    DeleteTableRows = 247,
    DeleteTable = 251,
    InsertTableRowAbove = 246,
    InsertTableRowBelow = 245,
    InsertTableColumnToTheLeft = 243,
    InsertTableColumnToTheRight = 244,
    MergeTableCells = 254,
    ShowSplitCellsDialog = 255,
    SetAutoFitContents = 399,
    SetAutoFitWindow = 400,
    SetFixedColumnWidth = 401,
    TableCellAlignTopLeft = 260,
    TableCellAlignTopCenter = 261,
    TableCellAlignTopRight = 262,
    TableCellAlignMiddleLeft = 263,
    TableCellAlignMiddleCenter = 264,
    TableCellAlignMiddleRight = 265,
    TableCellAlignBottomLeft = 266,
    TableCellAlignBottomCenter = 267,
    TableCellAlignBottomRight = 268
}

Members

Name Description
AlignmentMenu

A command that shows the Alignment menu.

AutoFitMenu

A command that shows the AutoFit menu.

DeleteMenu

A command that shows the Delete menu.

DeleteTable

A command that deletes the selected table.

DeleteTableColumns

A command that deletes the selected columns in the table.

DeleteTableRows

A command that deletes the selected rows in the table.

InsertMenu

A command that shows the Insert menu.

InsertTableColumnToTheLeft

A command that inserts a column in the table to the left of the selected row.

InsertTableColumnToTheRight

A command that inserts a column in the table to the right of the selected row.

InsertTableRowAbove

A command that inserts a row in the table above the selected row.

InsertTableRowBelow

A command that inserts a row in the table below the selected row.

MergeTableCells

A command that merges the selected cells.

SelectMenu

A command that shows the Select menu.

SelectTable

A command that selects the entire table in which the cursor is located.

SelectTableCell

A command that selects the table cell in which the cursor is located.

SelectTableColumn

A command that selects the table column in which the cursor is located.

SelectTableRow

A command that selects the table row in which the cursor is located.

SetAutoFitContents

A command that changes the widths of the table columns according to their contents.

SetAutoFitWindow

A command that changes the table column widths based on the window width.

SetFixedColumnWidth

A command that fixes the widths of the table columns.

ShowDeleteCellsDialog

A command that shows the Delete Cells dialog.

ShowSplitCellsDialog

A command that shows the Spit Cells dialog.

TableCellAlignBottomCenter

A command that applies bottom-center alignment for the selected cells.

TableCellAlignBottomLeft

A command that applies bottom-left alignment for the selected cells.

TableCellAlignBottomRight

A command that applies bottom-right alignment for the selected cells.

TableCellAlignMiddleCenter

A command that applies middle-center alignment for the selected cells.

TableCellAlignMiddleLeft

A command that applies middle-left alignment for the selected cells.

TableCellAlignMiddleRight

A command that applies middle-right alignment for the selected cells.

TableCellAlignTopCenter

A command that applies top-center alignment for the selected cells.

TableCellAlignTopLeft

A command that applies top-left alignment for the selected cells.

TableCellAlignTopRight

A command that applies top-right alignment for the selected cells.

ToggleShowTableGridLines

A command that toggles table grid line visibility.

Remarks

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

richEdit.executeCommand(DevExpress.RichEdit.TableLayoutTabCommandId.SelectTable);

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

See Also