Command UI
- 4 minutes to read
When you create a rich text editor, you can insert a set of toolbars or ribbon tabs that allow users to perform basic operations (format and edit text, create lists, add headers and footers, insert tables, mail merge, etc.) via the command UI. Refer to the Getting Started section for examples on how to provide a command UI for the DXRichEdit.
This topic contains a list of available toolbars, commands corresponding to buttons on each toolbar and ribbon group, and a set of documents that provide information on the related functionality.
- File
- Home
- Insert
- Page Layout
- References
- Mail Merge
- View
- Review
- Header & Footer Tools
- Table Tools
- Picture Tools
File
Ribbon Tab | Toolbar | Commands | Read more… |
---|---|---|---|
ShowDocumentPropertiesFormCommand EncryptDocumentCommand |
Home
Note
If you hide items in the Paragraph group, make sure that items for RTL text are also hidden.
Insert
Ribbon Tab | Toolbar | Commands | Read more… |
---|---|---|---|
| |||
CreateHyperlinkCommand RichEditHyperlinkCommandBase | |||
Page Layout
Ribbon Tab | Toolbar | Commands | Read more… |
---|---|---|---|
Margins: SetNormalSectionPageMarginsCommand SetNarrowSectionPageMarginsCommand SetModerateSectionPageMarginsCommand SetWideSectionPageMarginsCommand Orientation: SetPortraitPageOrientationCommand SetLandscapePageOrientationCommand Size: Columns: Breaks: InsertSectionBreakNextPageCommand InsertSectionBreakEvenPageCommand InsertSectionBreakOddPageCommand InsertSectionBreakContinuousCommand Line Numbers: SetSectionLineNumberingNoneCommand SetSectionLineNumberingContinuousCommand SetSectionLineNumberingRestartNewPageCommand SetSectionLineNumberingRestartNewSectionCommand ToggleParagraphSuppressLineNumbersCommand ShowLineNumberingFormCommand Hyphenation: SetHyphenateDocumentAutomaticCommand SetHyphenateDocumentNoneCommand ChangeHyphenationOptionsCommand | |||
References
Mail Merge
Ribbon Tab | Toolbar | Commands | Read more… |
---|---|---|---|
View
Ribbon Tab | Toolbar | Commands | Read more… |
---|---|---|---|
|
Review
Ribbon Tab | Toolbar | Commands | Read more… |
---|---|---|---|
ToggleTrackChangesCommand ToggleTrackChangesBarItemCommand ToggleLockTrackingCommand ChangeDisplayForReviewModeCommand ShowMarkupCommand | |||
AcceptAllChangesCommand AcceptAllChangesAndStopTracking AcceptAllChangesShownCommand RejectAllChangesCommand RejectAllChangesAndStopTracking RejectAllChangesShownCommand NextChangeCommand PreviousChangeCommand |
Header and Footer Tools
Ribbon Tab | Toolbar | Commands | Read more… |
---|---|---|---|
GoToPreviousPageHeaderFooterCommand GoToNextPageHeaderFooterCommand | |||
Table Tools
Ribbon Tab | Toolbar | Commands | Read more… |
---|---|---|---|
ChangeCurrentBorderRepositoryItemColorCommand ChangeCurrentBorderRepositoryItemLineThicknessCommand Shading: ChangeTableCellsShadingCommand Borders: ToggleTableCellsBottomBorderCommand ToggleTableCellsTopBorderCommand ToggleTableCellsLeftBorderCommand ToggleTableCellsRightBorderCommand ToggleTableCellsAllBordersCommand ToggleTableCellsOutsideBorderCommand ToggleTableCellsInsideBorderCommand ToggleTableCellsInsideHorizontalBorderCommand | |||
SelectTableCellCommand SelectTableColumnsCommand SelectTableRowCommand | |||
ShowDeleteTableCellsFormCommand InsertTableColumnToTheLeftCommand | |||
ToggleTableAutoFitContentsCommand | |||
ToggleTableCellsTopLeftAlignmentCommand ToggleTableCellsTopCenterAlignmentCommand ToggleTableCellsTopRightAlignmentCommand ToggleTableCellsMiddleLeftAlignmentCommand ToggleTableCellsMiddleCenterAlignmentCommand ToggleTableCellsMiddleRightAlignmentCommand ToggleTableCellsBottomLeftAlignmentCommand |
Picture Tools
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.