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

Defines the dialog contract used to edit an image selected in a rich text document.

Definition

Namespace:Telerik.WinForms.Documents.UI.Extensibility

Assembly:Telerik.WinControls.RichTextEditor.dll

Syntax:

C#
public interface IImageEditorDialog

Methods

Shows an image editor and reports a confirmed replacement through the callback.

C#
void ShowDialog(Inline selectedImage, Action<Inline, Inline> replaceCurrentInlineCallback, string executeToolName, RadRichTextBox owner)
Parameters:selectedImageInline

The selected image, which can be an ImageInline or a FloatingImageBlock.

replaceCurrentInlineCallbackAction<Inline, Inline>

Receives the original inline and its replacement when editing is confirmed.

executeToolNamestring

An optional name of a tool the dialog may activate when opening.

ownerRadRichTextBox

The rich text box that owns the dialog.