TableDesignTabCommandId Enum
Lists commands contained in the Design tab.
Declaration
export enum TableDesignTabCommandId {
TableStyleOptionsMenu = 443,
BordersMenu = 444,
ToggleFirstRow = 280,
ToggleLastRow = 281,
ToggleBandedRows = 284,
ToggleFirstColumn = 282,
ToggleLastColumn = 283,
ToggleBandedColumn = 285,
ChangeTableStyle = 269,
ChangeTableRepositoryItemBorderStyle = 292,
ChangeTableRepositoryItemBorderWidth = 291,
ChangeTableRepositoryItemBorderColor = 290,
ToggleTableCellsBottomBorder = 272,
ToggleTableCellsTopBorder = 270,
ToggleTableCellsLeftBorder = 273,
ToggleTableCellsRightBorder = 271,
ToggleTableCellNoBorder = 274,
ToggleTableCellAllBorders = 275,
ToggleTableCellOutsideBorders = 279,
ToggleTableCellInsideBorders = 276,
ToggleTableCellInsideHorizontalBorders = 277,
ToggleTableCellInsideVerticalBorders = 278,
ToggleTableViewGridlines = 295,
ChangeTableCellShading = 294
}
Members
Name | Description |
---|---|
BordersMenu
|
A command that shows the Borders menu. |
ChangeTableCellShading
|
A command that changes shading in the selected table cells. |
ChangeTableRepositoryItemBorderColor
|
A command that specifies the border color. To apply border settings, use commands in the Borders menu (for instance, ToggleTableCellInsideHorizontalBorders). |
ChangeTableRepositoryItemBorderStyle
|
A command that specifies the border style. To apply border settings, use commands in the Borders menu (for instance, ToggleTableCellInsideHorizontalBorders). |
ChangeTableRepositoryItemBorderWidth
|
A command that specifies the border width. To apply border settings, use commands in the Borders menu (for instance, ToggleTableCellInsideHorizontalBorders). |
ChangeTableStyle
|
A command that changes the table style. |
TableStyleOptionsMenu
|
A command that shows the Table Style Options menu. |
ToggleBandedColumn
|
A command that applies the current table style to odd/even banded columns in the selected table. This command also removes the applied table style. |
ToggleBandedRows
|
A command that applies the current table style to odd/even banded rows in the selected table. This command also removes the applied table style. |
ToggleFirstColumn
|
A command that applies the current table style to the first column in the selected table. This command also removes the applied table style. |
ToggleFirstRow
|
A command that applies the current table style to the first row in the selected table. This command also removes the applied table style. |
ToggleLastColumn
|
A command that applies the current table style to the last column in the selected table. This command also removes the applied table style. |
ToggleLastRow
|
A command that applies the current table style to the last row in the selected table. This command also removes the applied table style. |
ToggleTableCellAllBorders
|
A command that applies border settings to all borders of the selected cells. This command also removes the applied border settings. |
ToggleTableCellInsideBorders
|
A command that applies (or cancels) border settings of the inside borders for the selected cells. |
ToggleTableCellInsideHorizontalBorders
|
A command that applies border settings to the inside horizontal borders of the selected cells. This command also removes the applied border settings. |
ToggleTableCellInsideVerticalBorders
|
A command that applies border settings to the inside vertical borders of the selected cells. This command also removes the applied border settings. |
ToggleTableCellNoBorder
|
A command that hides all borders of the selected cells. |
ToggleTableCellOutsideBorders
|
A command that applies border settings to the outside borders of the selected cells. This command also removes the applied border settings. |
ToggleTableCellsBottomBorder
|
A command that applies border settings to the bottom border of the selected cells. |
ToggleTableCellsLeftBorder
|
A command that applies border settings to the left border of the selected cells. |
ToggleTableCellsRightBorder
|
A command that applies border settings to the right border of the selected cells. |
ToggleTableCellsTopBorder
|
A command that applies border settings to the top border of the selected cells. |
ToggleTableViewGridlines
|
A command that toggles table grid line visibility. |
Remarks
Pass the TableDesignTabCommandId
‘s field to the executeCommand(commandId) method to execute a command:
richEdit.executeCommand(DevExpress.RichEdit.TableDesignTabCommandId.BordersMenu);
The TableDesignTabItemId enum contains identifiers of the Design 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 Design tab.