Bar UI
- 4 minutes to read
When creating a rich text editor, you can provide it with a set of toolbars to let your end-users perform basic operations (format and edit text, create lists, add headers and footers, work with tables, perform advanced mail merge, etc.) via a bars UI. To get an example, refer to How to: Create the RichEditControl with a Bar UI.
Tip
The bar items are generated with vector icons by default. Set the WindowsFormsSettings.AllowDefaultSvgImages property to DefaultBoolean.False on application startup to switch to the bitmap icons.
This topic contains a list of available toolbars, commands corresponding to buttons located on each toolbar and a set of documents to which you can refer to get detailed information on the RichEditControl’s functionality provided by each toolbar.
- File Bars
- Home Bars
- Insert Bars
- Page Layout Bars
- Mail Merge Bars
- View Bars
- Header & Footer Bars
- Table Bars
- Review Bars
- Reference Bars
- Floating Object Bars
Note
Commands executed via the Bar (Ribbon) user interface can throw unhandled exceptions if a problem occurs. Consider the situation when a document is being saved to a locked or read-only file. To prevent application failure, subscribe to the RichEditControl.UnhandledException event and set the RichEditUnhandledExceptionEventArgs.Handled property to true.