New to Telerik UI for WinFormsStart a free 30-day trial

Represents a UI-friendly command for inserting a non-breaking space.

Definition

Constructors

Initializes a new instance of the InsertNonBreakingSpaceCommand type.

C#
public InsertNonBreakingSpaceCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The associated editor

Methods

Represents the logic that is executed when it is evaluated whether the command can be triggered.

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

The command parameter

Returns:

bool

Overrides: RichTextBoxCommandBase.CanExecuteOverride(object)

Represents the logic that is executed when the command is triggered.

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

The command parameter

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)