New to Telerik UI for WinForms? Start a free 30-day trial

Splits the merged cell at the caret or in the selection into its constituent cells.

Definition

Constructors

Initializes the command for the specified editor.

C#
public UnmergeTableCellsCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The rich text box containing the table.

Methods

Determines whether the caret or selection identifies a merged table cell.

C#
protected override bool CanExecuteOverride()
Returns:

bool

true when the caret is inside a merged cell or one merged cell is selected; otherwise, false.

Overrides: TableContextCommandBase.CanExecuteOverride()

Splits the current merged cell into separate cells.

C#
protected override void ExecuteOverride(object parameter)
Parameters:parameterobject

Not used.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)