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.
The dialog can be opened from the Insert Table option in the Table drop down button located in the Insert tab of the RadRichTextBoxRibbonUI.
Table Properties Dialog
This dialog allows you to adjust the table's properties.
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
.
Table Borders Dialog
This dialog allows you to adjust the table boders.
The dialog can be opened from the Table Borders option in the right-click menu (context menu) of RadRichTextBox
.
Table Styles Dialog
The table style dialogs allows you to create and modify the styling used in the tables of the document.
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.
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);
RadRichTextBox
methods.
ShowInsertTableDialog
ShowTableBordersDialog
ShowTablePropertiesDialog
Using the show dialog method
this.richTextBox.ShowInsertTableDialog();