New to Telerik UI for WPF? Download free 30-day trial

Tables Dialogs

The RichTextBox component provides several dialogs to work create and modify tables.

Insert Table Dialog

This dialog allows you to create a table by defining its dimensions.

An image showing the insert tables dialog of RadRichTextBox for WPF

The dialog can be opened from the Insert Table option in the Table drop down button located in the Insert tab of the RadRichTextBoxRibbonUI.

An image showing the button that opens the insert tables dialog of RadRichTextBox for WPF

Table Properties Dialog

This dialog allows you to adjust the table's properties.

An image showing the table properties dialog of RadRichTextBox for WPF

The dialog can be opened from the Properties option in the Layout contextual tab of the RadRichTextBoxRibbonUI or via the in the Table Properties option in the right-click menu (context menu) of RadRichTextBox.

An image showing the button that opens the table properties dialog of RadRichTextBox for WPF

An image showing the context menu option that opens the table properties dialog of RadRichTextBox for WPF

Table Borders Dialog

This dialog allows you to adjust the table boders.

An image showing the table borders dialog of RadRichTextBox for WPF

The dialog can be opened from the Table Borders option in the right-click menu (context menu) of RadRichTextBox.

An image showing the button that opens the table borders dialog of RadRichTextBox for WPF

Table Styles Dialog

The table style dialogs allows you to create and modify the styling used in the tables of the document.

An image showing the create table styles dialog of RadRichTextBox for WPF

An image showing the modify  table styles dialog of RadRichTextBox for WPF

The table styles dialogs can be opened from the New Table Style and Modify Table Style buttons in the Table Styles drop down of the Design contextual tab of RadRichTextBoxRibbonUI.

An image showing the table styles dialogs buttons of RadRichTextBoxUI for WPF

Showing the Dialogs Manually

The table dialogs can be shown by executing the following commands:

  • ShowTablePropertiesDialogCommand
  • ShowTableBordersDialogCommand
  • ShowInsertTableDialogCommand

See how to bind the commands to external buttons in the Commands article.

Executing the show dialog command

this.richTextBox.Commands.ShowTablePropertiesDialogCommand.Execute(null); 
Alternatively, you can call the associated RadRichTextBox methods.
  • ShowInsertTableDialog
  • ShowTableBordersDialog
  • ShowTablePropertiesDialog

Using the show dialog method

this.richTextBox.ShowInsertTableDialog(); 
In this article