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

Inserts a column break at the caret when it is outside a table and header/footer edit mode.

Definition

Constructors

Creates the column-break command for the specified editor.

C#
public InsertColumnBreakCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The editor where the column break is inserted.

Properties

Restricts column-break insertion to document-body editing.

C#
protected override CommandTargets SupportedTargets { get; }

Overrides: RichTextBoxCommandBase.SupportedTargets

Methods

Checks whether the caret is outside both a table and header/footer edit mode.

C#
protected override bool CanExecuteOverride(object parameter)
Parameters:parameterobjectReturns:

bool

true when the caret is outside a table and header/footer edit mode; otherwise, false.

Overrides: RichTextBoxCommandBase.CanExecuteOverride(object)

Inserts a column break at the current caret position.

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

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)