Skip to main content
A newer version of this page is available. .
cut

RichEditCommands.toggleTableCellTopBorder Property

Gets a command to apply (or cancel) border settings of the top border for the selected cells.

Declaration

readonly toggleTableCellTopBorder: ToggleTableCellTopBorderCommand

Property Value

Type Description
ToggleTableCellTopBorderCommand

An object that provides methods that execute the command and check its state.

Remarks

Call the execute method to invoke the command. The method checks the command state (obtained via the getState method) to determine whether the action can be performed.

richEdit.commands.toggleTableCellTopBorders.execute();

The command applies border settings that you can modify using the RichEditCommands.changeTableBorderRepositoryItem command.

Refer to the following section for more information: Client Commands.

See Also