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

Definition

Constructors

C#
public ExitHeaderFooterEditModeCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

Properties

Gets a value indicating whether this command can be executed when editing context is read-only. The default implementation returns false.

C#
protected override bool CanExecuteInReadOnlyRange { get; }

Overrides: RichTextBoxCommandBase.CanExecuteInReadOnlyRange

Gets the supported CommandTargets for the command.

C#
protected override CommandTargets SupportedTargets { get; }

Overrides: RichTextBoxCommandBase.SupportedTargets

Methods

Performs a check whether the command can be executed specific to the command.

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

The command parameter.

Returns:

bool

Overrides: RichTextBoxCommandBase.CanExecuteOverride(object)

Performs the execute action specific to the command.

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

The command parameter.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)