# Image Editor Dialog

This dialog allows you to [edit images](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/ui-for-applying-rich-text-formatting/features-editing-images) in the document.

![An image showing the image editor of RadRichTextBox for WPF](https://www.telerik.com/products/wpf/documentation/assets/b07317410c1896d9b5d2156b126864e6/richtextbox-dialogs-image-editor-0.png)

The dialog can be opened from the **Edit Image** option in the context menu (right click menu) of `RadRichTextBox`. This option is available only when the context menu is opened over an image.

![An image showing the button that opens the image editor dialog of RadRichTextBox for WPF](https://www.telerik.com/products/wpf/documentation/assets/31831c43edc321d24bd6f453e9ae6e9d/richtextbox-dialogs-image-editor-1.png)

## Showing the Dialog Manually

The dialog can be shown by executing the `ShowImageEditorDialogCommand`. See how to bind the command to an external button in the [Commands](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/features/commands) article.

**Executing the show dialog command**

```C#
	this.richTextBox.Commands.ShowImageEditorDialogCommand.Execute(null);
```

Alternatively, call the `ShowImageEditorDialog` method of `RadRichTextBox`.

**Using the show dialog method**

```C#
	this.richTextBox.ShowImageEditorDialog();
```
