# Insert Caption Dialog

This dialog allows you to insert [captions](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/features/references/captions-for-tables-and-figures) in the document.

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

The dialog can be opened from the **Insert Caption** button in the **References** tab of the [RadRichTextBoxRibbonUI](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/ui-for-applying-rich-text-formatting/features-radrichtextboxribbonui).

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

## Showing the Dialog Manually

The dialog can be shown by executing the `ShowInsertCaptionDialogCommand`. 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.ShowInsertCaptionDialogCommand.Execute(null);
```

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

**Using the show dialog method**

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