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 |
---|---|
Alignment
|
A command that shows the Alignment menu. |
Auto
|
A command that shows the Auto |
Delete
|
A command that shows the Delete menu. |
Delete
|
A command that deletes the selected table. |
Delete
|
A command that deletes the selected columns in the table. |
Delete
|
A command that deletes the selected rows in the table. |
Insert
|
A command that shows the Insert menu. |
Insert
|
A command that inserts a column in the table to the left of the selected row. |
Insert
|
A command that inserts a column in the table to the right of the selected row. |
Insert
|
A command that inserts a row in the table above the selected row. |
Insert
|
A command that inserts a row in the table below the selected row. |
Merge
|
A command that merges the selected cells. |
Select
|
A command that shows the Select menu. |
Select
|
A command that selects the entire table in which the cursor is located. |
Select
|
A command that selects the table cell in which the cursor is located. |
Select
|
A command that selects the table column in which the cursor is located. |
Select
|
A command that selects the table row in which the cursor is located. |
Set
|
A command that changes the widths of the table columns according to their contents. |
Set
|
A command that changes the table column widths based on the window width. |
Set
|
A command that fixes the widths of the table columns. |
Show
|
A command that shows the Delete Cells dialog. |
Show
|
A command that shows the Spit Cells dialog. |
Table
|
A command that applies bottom-center alignment for the selected cells. |
Table
|
A command that applies bottom-left alignment for the selected cells. |
Table
|
A command that applies bottom-right alignment for the selected cells. |
Table
|
A command that applies middle-center alignment for the selected cells. |
Table
|
A command that applies middle-left alignment for the selected cells. |
Table
|
A command that applies middle-right alignment for the selected cells. |
Table
|
A command that applies top-center alignment for the selected cells. |
Table
|
A command that applies top-left alignment for the selected cells. |
Table
|
A command that applies top-right alignment for the selected cells. |
Toggle
|
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.