Requests the configured image editor dialog, which opens only when an image can be resolved from the selection or caret.
Definition
Namespace:Telerik.WinForms.Documents.RichTextBoxCommands
Assembly:Telerik.WinControls.RichTextEditor.dll
Syntax:
public class ShowImageEditorCommand : ImageContextCommandBase, ICommand
Inheritance: objectRichTextBoxCommandBaseImageContextCommandBaseShowImageEditorCommand
Implements:
Inherited Members
Constructors
Creates a command that opens the image editor for the specified editor's image.
public ShowImageEditorCommand(RadRichTextBox editor)
The editor whose image can be edited.
Properties
Prevents the base command from explicitly focusing the editor after the dialog call returns.
protected override bool ShouldFocusCaretAfterExecute { get; }
Overrides:
Methods
Does not check for an image context; image resolution is deferred until the dialog method is called.
Delegates to the editor's image-dialog method, which shows the configured dialog only when an image can be resolved from the current context.
protected override void ExecuteOverride(object parameter)
Not used; the image is resolved from the current selection or caret.
Overrides: