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

Toggles the innermost field containing the caret between displaying its code and its result or display name.

Definition

Constructors

Creates a command that toggles field display in the specified editor.

C#
public ToggleFieldDisplayModeCommand(RadRichTextBox editor)
Parameters:editorRadRichTextBox

The editor whose field under the caret can be toggled.

Properties

Applies deleting-command permission rules when checking whether the command can run in protected ranges.

C#
protected override bool IsDeletingCommand { get; }

Overrides: RichTextBoxCommandBase.IsDeletingCommand

Methods

Toggles the innermost field at the caret; the command parameter is not used.

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

Not used; the target field is resolved from the caret position.

Overrides: RichTextBoxCommandBase.ExecuteOverride(object)