Toggles the innermost field containing the caret between displaying its code and its result or display name.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ToggleFieldDisplayModeCommand : FieldRangeStartBaseCommandBase<FieldRangeStart>, ICommand
Inheritance: objectRichTextBoxCommandBaseFieldRangeStartBaseCommandBase<FieldRangeStart>ToggleFieldDisplayModeCommand
Implements:
Inherited Members
Constructors
Creates a command that toggles field display in the specified editor.
public ToggleFieldDisplayModeCommand(RadRichTextBox editor)
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.
protected override bool IsDeletingCommand { get; }
Overrides:
Methods
Toggles the innermost field at the caret; the command parameter is not used.
protected override void ExecuteOverride(object parameter)
Not used; the target field is resolved from the caret position.
Overrides: