Class
InsertNonBreakingSpaceCommand

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

Definition

Namespace:Telerik.Windows.Documents.RichTextBoxCommands

Assembly:Telerik.Windows.Controls.RichTextBox.dll

Syntax:

cs-api-definition
public class InsertNonBreakingSpaceCommand : RichTextBoxCommandBase, ICommand

Inheritance: objectRichTextBoxCommandBaseInsertNonBreakingSpaceCommand

Implements: ICommand

Inherited Members RichTextBoxCommandBase.CanExecute(object)RichTextBoxCommandBase.Execute()RichTextBoxCommandBase.Execute(object)RichTextBoxCommandBase.GetSelectedInlineOrSelectCurrent()RichTextBoxCommandBase.Execute(object, bool)RichTextBoxCommandBase.UpdateSpanStyle()RichTextBoxCommandBase.UpdateSectionStyle()RichTextBoxCommandBase.GetCurrentParagraphStyle()RichTextBoxCommandBase.GetCurrentSpanStyle()RichTextBoxCommandBase.GetCurrentSectionStyle()RichTextBoxCommandBase.OnCanExecuteChanged()RichTextBoxCommandBase.AssociatedRichTextBoxRichTextBoxCommandBase.CanExecuteInReadOnlyModeRichTextBoxCommandBase.CanExecuteInReadOnlyRangeRichTextBoxCommandBase.IsDeletingCommandRichTextBoxCommandBase.CanExecuteBehaviorInProtectedDocumentRichTextBoxCommandBase.ShouldFocusCaretAfterExecuteRichTextBoxCommandBase.SupportedTargetsRichTextBoxCommandBase.EnabledRichTextBoxCommandBase.CanExecuteChanged

Constructors

InsertNonBreakingSpaceCommand(RadRichTextBox)

Initializes a new instance of the InsertNonBreakingSpaceCommand type.

Declaration

cs-api-definition
public InsertNonBreakingSpaceCommand(RadRichTextBox editor)

Parameters

editor

RadRichTextBox

The associated editor

Methods

CanExecuteOverride(object)

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

Declaration

cs-api-definition
protected override bool CanExecuteOverride(object parameter)

Parameters

parameter

object

The command parameter

Returns

bool

Overrides RichTextBoxCommandBase.CanExecuteOverride(object)

ExecuteOverride(object)

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

Declaration

cs-api-definition
protected override void ExecuteOverride(object parameter)

Parameters

parameter

object

The command parameter

Overrides RichTextBoxCommandBase.ExecuteOverride(object)