Back to Devexpress

Command UI

wpf-118665-controls-and-libraries-rich-text-editor-visual-elements-command-ui.md

latest41.8 KB
Original Source

Command UI

  • Feb 28, 2023
  • 3 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 Get Started with WPF Rich Text Editor 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

Ribbon TabToolbarCommandsRead more…
CreateEmptyDocumentCommand
LoadDocumentCommand
SaveDocumentCommand
SaveDocumentAsCommand
QuickPrintCommand
PrintCommand
PrintPreviewCommand
UndoCommand
RedoCommandImport and Export
Supported Formats
Create a Simple Rich Text Editor
ShowDocumentPropertiesFormCommand
EncryptDocumentCommandDocument Properties Dialog
Restrictions and Protection

Home

Ribbon TabToolbarCommandsRead more…
PasteSelectionCommand
CutSelectionCommand
CopySelectionCommand
ShowPasteSpecialFormCommandPaste Special Dialog
ChangeFontNameCommand
ChangeFontSizeCommand
IncreaseFontSizeCommand
DecreaseFontSizeCommand
ClearFormattingCommand
ToggleFontBoldCommand
ToggleFontItalicCommand
ToggleFontUnderlineCommand
ToggleFontDoubleUnderlineCommand
ToggleFontStrikeoutCommand
ToggleFontDoubleStrikeoutCommand
ToggleFontSuperscriptCommand
ToggleFontSubscriptCommand
MakeTextUpperCaseCommand
MakeTextLowerCaseCommand
ToggleTextCaseCommand
ChangeFontBackColorCommand
ChangeFontColorCommand
ShowFontFormCommandText Formatting
How to: Change Formatting of Selected Text
Font Dialog
ToggleBulletedListCommand
ToggleSimpleNumberingListCommand
ToggleMultiLevelListCommand
DecrementIndentCommand
IncrementIndentCommand
ToggleShowWhitespaceCommand
ToggleParagraphAlignmentLeftCommand
ToggleParagraphAlignmentCenterCommand
ToggleParagraphAlignmentRightCommand
ToggleParagraphAlignmentJustifyCommand
SetSingleParagraphSpacingCommand
SetSesquialteralParagraphSpacingCommand
SetDoubleParagraphSpacingCommand
ShowLineSpacingFormCommand
AddSpacingBeforeParagraphCommand
AddSpacingAfterParagraphCommand
ChangeParagraphBackColorCommand
ToggleShowWhitespaceCommand](/OfficeFileAPI/DevExpress.XtraRichEdit.Commands.ToggleShowWhitespaceCommand)
ShowParagraphFormCommandParagraphs
Text Formatting
How to: Change Formatting of the Current Paragraph
Paragraph and Tabs Dialogs
RtlToggleBulletedListCommand
RtlToggleMultiLevelListCommand
RtlToggleSimpleNumberingListCommand
RtlDecrementIndentCommand
RtlIncrementIndentCommand
ToggleParagraphRightToLeftCommand
ToggleParagraphLeftToRightCommand
ToggleParagraphAlignmentLeftCommand
ToggleParagraphAlignmentCenterCommand
ToggleParagraphAlignmentRightCommand
ToggleParagraphAlignmentArabicJustifyCommand
ToggleParagraphAlignmentArabicJustifyGroupCommand
ToggleParagraphAlignmentJustifyCommand
ToggleParagraphAlignmentJustifyHighCommand
ToggleParagraphAlignmentJustifyLowCommand
ToggleParagraphAlignmentJustifyMediumCommand
ToggleParagraphAlignmentDistributeCommand
ToggleParagraphAlignmentThaiDistributeCommand
ToggleShowWhitespaceCommand
SetSingleParagraphSpacingCommand
SetSesquialteralParagraphSpacingCommand
SetDoubleParagraphSpacingCommand
AddSpacingBeforeParagraphCommand
AddSpacingAfterParagraphCommand
ChangeParagraphBackColorCommand
ShowParagraphFormCommand
ShowEditStyleFormCommand
FindCommand
ReplaceCommandFind and Replace Panel

Note

If you hide items in the Paragraph group, make sure that items for RTL text are also hidden.

Insert

Ribbon TabToolbarCommandsRead more…
InsertPageBreakCommand
InsertTableCommandTables
Table Layout Dialogs
InsertFloatingObjectPictureCommandShapes
Shape Layout Dialog
CreateBookmarkCommand
CreateHyperlinkCommand
EditHyperlinkCommand
RichEditHyperlinkCommandBase
ShowHyperlinkFormCommand
Hyperlinks and Bookmarks
Bookmark Dialog
Edit Hyperlink Dialog
EditPageHeaderCommand
EditPageFooterCommand
InsertPageNumberFieldCommand
InsertPageCountFieldCommandHeaders and Footers
How to: Insert Page Numbers in Header or Footer
InsertTextBoxCommandShapes
ShowSymbolFormCommandSymbol Dialog

Page Layout

Ribbon TabToolbarCommandsRead more…
Margins:
SetNormalSectionPageMarginsCommand
SetNarrowSectionPageMarginsCommand
SetModerateSectionPageMarginsCommand
SetWideSectionPageMarginsCommand
Orientation:
SetPortraitPageOrientationCommand
SetLandscapePageOrientationCommand
Size:
ChangeSectionPaperKindCommand
Columns:
SetSectionOneColumnCommand
SetSectionTwoColumnsCommand
SetSectionThreeColumnsCommand
ShowColumnsSetupFormCommand
Breaks:
InsertPageBreakCommand
InsertColumnBreakCommand
InsertSectionBreakNextPageCommand
InsertSectionBreakEvenPageCommand
InsertSectionBreakOddPageCommand
InsertSectionBreakContinuousCommand
Line Numbers:
SetSectionLineNumberingNoneCommand
SetSectionLineNumberingContinuousCommand
SetSectionLineNumberingRestartNewPageCommand
SetSectionLineNumberingRestartNewSectionCommand
ToggleParagraphSuppressLineNumbersCommand
ShowLineNumberingFormCommand
Hyphenation:
SetHyphenateDocumentAutomaticCommand
SetHyphenateDocumentNoneCommand
ChangeHyphenationOptionsCommandDocument Layout
Sections
Columns Dialog
Line Numbers Dialog
ChangePageColorCommand

References

Ribbon TabToolbarCommandsRead more…
InsertTableOfContentsCommand
SetParagraphBodyTextLevelCommand
SetParagraphHeading1LevelCommand
SetParagraphHeading2LevelCommand
SetParagraphHeading3LevelCommand
SetParagraphHeading4LevelCommand
SetParagraphHeading5LevelCommand
SetParagraphHeading6LevelCommand
SetParagraphHeading7LevelCommand
SetParagraphHeading8LevelCommand
SetParagraphHeading9LevelCommand
UpdateTableOfContentsCommandTable of Contents
InsertFiguresCaptionCommand
InsertTablesCaptionCommand
InsertEquationsCaptionCommand
InsertTableOfFiguresCommand
InsertTableOfTablesCommand
InsertTableOfEquationsCommand
UpdateTableOfContentsCommand
InsertFootnoteCommand
InsertEndnoteCommand
NextFootnoteCommand
NextEndnoteCommand
PreviousFootnoteCommand
PreviousEndnoteCommand
OpenShowNoteFormCommand
ShowNotesFormCommandFootnotes and Endnotes

Mail Merge

Ribbon TabToolbarCommandsRead more…
InsertMergeFieldCommandMail Merge
Fields
Mail Merge
RichEditControl.CustomizeMergeFields
ToggleViewMergedDataCommand
ShowAllFieldCodesCommand
ShowAllFieldResultsCommand
FirstDataRecordCommand
PreviousDataRecordCommand
NextDataRecordCommand
LastDataRecordCommand
MailMergeSaveDocumentAsCommand

View

Ribbon TabToolbarCommandsRead more…
SwitchToDraftViewCommand
SwitchToPrintLayoutViewCommand
SwitchToSimpleViewCommandViews
ToggleShowHorizontalRulerCommand
ToggleShowVerticalRulerCommandRulers
ZoomOutCommand
ZoomInCommand

Review

Ribbon TabToolbarCommandsRead more…
CheckSpellingCommand
ShowLanguageFormCommandLanguage Dialog
ProtectDocumentCommand
ShowRangeEditingPermissionsFormCommand
UnprotectDocumentCommandRestrictions and Protection
Range Permissions
Document Protection Dialogs
Editing Permissions Dialog
NewCommentCommand
NextCommentCommand
PreviousCommentCommand
DeleteOneCommentCommandComments
ToggleTrackChangesCommand
ToggleTrackChangesBarItemCommand
ToggleLockTrackingCommand
ChangeDisplayForReviewModeCommand
ShowMarkupCommand
ViewCommentsCommand
ReviewersCommand
ShowReviewingPaneCommandComments
Track Changes
AcceptAllChangesCommand
AcceptAllChangesAndStopTracking
AcceptAllChangesShownCommand
RejectAllChangesCommand
RejectAllChangesAndStopTracking
RejectAllChangesShownCommand
NextChangeCommand
PreviousChangeCommandTrack Changes
Ribbon TabToolbarCommandsRead more…
GoToPageHeaderCommand
GoToPageFooterCommand
GoToPreviousPageHeaderFooterCommand
GoToNextPageHeaderFooterCommand
GoToPreviousPageHeaderFooterCommand
ToggleHeaderFooterLinkToPreviousCommandHeaders and Footers
ToggleDifferentFirstPageCommand
ToggleDifferentOddAndEvenPagesCommand
ClosePageHeaderFooterCommand

Table Tools

Ribbon TabToolbarCommandsRead more…
ToggleFirstRowCommand
ToggleFirstColumnCommand
ToggleLastRowCommand
ToggleLastColumnCommand
ToggleBandedRowsCommand
ToggleBandedColumnsCommandTables
Table Properties Dialogs
Table Layout Dialogs
ShowTableStyleFormCommand
ChangeCurrentBorderRepositoryItemColorCommand
ChangeCurrentBorderRepositoryItemLineThicknessCommand
Shading:
ChangeTableCellsShadingCommand
Borders:
ToggleTableCellsBottomBorderCommand
ToggleTableCellsTopBorderCommand
ToggleTableCellsLeftBorderCommand
ToggleTableCellsRightBorderCommand
ResetTableCellsBordersCommand
ToggleTableCellsAllBordersCommand
ToggleTableCellsOutsideBorderCommand
ToggleTableCellsInsideBorderCommand
ToggleTableCellsInsideHorizontalBorderCommand
ToggleTableCellsInsideVerticalBorderCommand
ToggleShowTableGridLinesCommand
SelectTableCellCommand
SelectTableColumnsCommand
SelectTableRowCommand
SelectTableCommand
ToggleShowTableGridLinesCommand
ShowTablePropertiesFormCommand
ShowDeleteTableCellsFormCommand
DeleteTableColumnsCommand
DeleteTableRowsCommand
DeleteTableCommand
InsertTableRowAboveCommand
InsertTableRowBelowCommand
InsertTableColumnToTheLeftCommand
InsertTableColumnToTheRightCommand
ShowInsertTableCellsFormCommand
MergeTableCellsCommand
ShowSplitTableCellsFormCommand
SplitTableCommand
ToggleTableAutoFitContentsCommand
ToggleTableAutoFitWindowCommand
ToggleTableFixedColumnWidthCommand
ToggleTableCellsTopLeftAlignmentCommand
ToggleTableCellsTopCenterAlignmentCommand
ToggleTableCellsTopRightAlignmentCommand
ToggleTableCellsMiddleLeftAlignmentCommand
ToggleTableCellsMiddleCenterAlignmentCommand
ToggleTableCellsMiddleRightAlignmentCommand
ToggleTableCellsBottomLeftAlignmentCommand
ToggleTableCellsBottomCenterAlignmentCommand
ToggleTableCellsBottomRightAlignmentCommand

Picture Tools

Ribbon TabToolbarCommandsRead more…
ChangeFloatingObjectFillColorCommand
ChangeFloatingObjectOutlineColorCommand
ChangeFloatingObjectOutlineWidthCommandShapes
Wrap Type:
SetFloatingObjectBehindTextWrapTypeCommand
SetFloatingObjectInFrontOfTextWrapTypeCommand
SetFloatingObjectSquareTextWrapTypeCommand
SetFloatingObjectThroughTextWrapTypeCommand
SetFloatingObjectTightTextWrapTypeCommand
[]](/OfficeFileAPI/DevExpress.XtraRichEdit.Commands.SetFloatingObjectTopAndBottomTextWrapTypeCommand)
SetFloatingObjectInlineWithTextWrapTypeCommand
Position:
SetFloatingObjectBottomCenterAlignmentCommand
SetFloatingObjectBottomLeftAlignmentCommand
SetFloatingObjectBottomRightAlignmentCommand
SetFloatingObjectMiddleCenterAlignmentCommand
SetFloatingObjectMiddleLeftAlignmentCommand
SetFloatingObjectMiddleRightAlignmentCommand
SetFloatingObjectTopCenterAlignmentCommand
SetFloatingObjectTopLeftAlignmentCommand
SetFloatingObjectTopRightAlignmentCommand
Bring Forward:
FloatingObjectBringForwardCommand
FloatingObjectBringInFrontOfTextCommand
FloatingObjectBringToFrontCommand
Send Backward:
FloatingObjectSendBackwardCommand
FloatingObjectSendBehindTextCommand
FloatingObjectSendToBackCommand

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.