# Cross-Reference Dialog

This dialog allows you to insert [cross-reference fields](https://www.telerik.com/products/wpf/documentation/controls/radrichtextbox/features/references/cross-reference) that point to a caption, heading or a bookmark in the document.

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

The dialog can be opened from the **Cross-reference** 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 cross reference dialog of RadRichTextBox for WPF](https://www.telerik.com/products/wpf/documentation/assets/fbd1df25b538d7d78b1e19eb5ea5959f/richtextbox-dialogs-cross-reference-1.png)

## Showing the Dialog Manually

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

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

**Using the show dialog method**

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