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

Ribbon Tab

Toolbar

Commands

Read more...

DXRichEdit_Ribbon_Common

DXRichEdit_CommonToolbar

CreateEmptyDocumentCommand

LoadDocumentCommand

SaveDocumentCommand

SaveDocumentAsCommand

QuickPrintCommand

PrintCommand

PrintPreviewCommand

UndoCommand

RedoCommand

Import and Export

Supported Formats

Lesson 1 - Create a Simple Rich Text Editor

DXRichEdit_InfoRibbon

DXRichEdit_InfoToolbar

ShowDocumentPropertiesFormCommand

EncryptDocumentCommand

Document Properties Dialog

Restrictions and Protection

Home

Ribbon Tab

Toolbar

Commands

Read more...

DXRichEdit_Ribbon_Clipboard

DXRichEdit_ClipboardToolbar

PasteSelectionCommand

CutSelectionCommand

CopySelectionCommand

ShowPasteSpecialFormCommand

Paste Special Dialog

DXRichEdit_Ribbon_Font

DXRichEdit_FontToolbar

ChangeFontNameCommand

ChangeFontSizeCommand

IncreaseFontSizeCommand

DecreaseFontSizeCommand

ClearFormattingCommand

ToggleFontBoldCommand

ToggleFontItalicCommand

ToggleFontUnderlineCommand

ToggleFontDoubleUnderlineCommand

ToggleFontStrikeoutCommand

ToggleFontDoubleStrikeoutCommand

ToggleFontSuperscriptCommand

ToggleFontSubscriptCommand

MakeTextUpperCaseCommand

MakeTextLowerCaseCommand

ToggleTextCaseCommand

ChangeFontBackColorCommand

ChangeFontColorCommand

ShowFontFormCommand

Text Formatting

How to: Change Formatting of Selected Text

Font Dialog

DXRichEdit_Ribbon_Paragraph

paragraph toolbar

ToggleBulletedListCommand

ToggleSimpleNumberingListCommand

ToggleMultiLevelListCommand

DecrementIndentCommand

IncrementIndentCommand

ToggleShowWhitespaceCommand

ToggleParagraphAlignmentLeftCommand

ToggleParagraphAlignmentCenterCommand

ToggleParagraphAlignmentRightCommand

ToggleParagraphAlignmentJustifyCommand

SetSingleParagraphSpacingCommand

SetSesquialteralParagraphSpacingCommand

SetDoubleParagraphSpacingCommand

ShowLineSpacingFormCommand

AddSpacingBeforeParagraphCommand

AddSpacingAfterParagraphCommand

ChangeParagraphBackColorCommand

ToggleShowWhitespaceCommand

ShowParagraphFormCommand

Paragraphs

Text Formatting

How to: Change Formatting of the Current Paragraph

Paragraph and Tabs Dialogs

Right-To-Left

DXRichEdit_ParagraphToolbar

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

DXRichEdit_Ribbon_Styles

DXRichEdit_StylesToolbar

ShowEditStyleFormCommand

DXRichEdit_Ribbon_Editing

DXRichEdit_EditingToolbar

FindCommand

ReplaceCommand

Find and Replace Panel

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...

DXRichEdit_Ribbon_Page

DXRichEdit_PagesToolbar

InsertPageBreakCommand

 

DXRichEdit_Ribbon_Tables

DXRichEdit_Table

InsertTableCommand

Tables

Table Layout Dialogs

DXRichEdit_Ribbon_Illustrations

DXRichEdit_IllustrationsToolbar

InsertFloatingObjectPictureCommand

Shapes

Shape Layout Dialog

DXRichEdit_Ribbon_Links

DXRichEdit_LinksToolbar

CreateBookmarkCommand

CreateHyperlinkCommand

EditHyperlinkCommand

RichEditHyperlinkCommandBase

ShowHyperlinkFormCommand

Hyperlinks and Bookmarks

Bookmark Dialog

Edit Hyperlink Dialog

DXRichEdit_Ribbon_HeaderFooter

DXRichEdit_HeaderAndFooterToolbar

EditPageHeaderCommand

EditPageFooterCommand

InsertPageNumberFieldCommand

InsertPageCountFieldCommand

Headers and Footers

How to: Insert Page Numbers in Header or Footer

DXRichEdit_Ribbon_Text

DXRichEdit_TextToolbar

InsertTextBoxCommand

Shapes

DXRichEdit_Ribbon_Symbols

DXRichEdit_SymbolsToolbar

ShowSymbolFormCommand

Symbol Dialog

Page Layout

Ribbon Tab

Toolbar

Commands

Read more...

DXRichEdit_Ribbon_PageSetup

DXRichEdit_PageSetupToolbar

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

ChangeHyphenationOptionsCommand

Document Layout

Sections

Columns Dialog

Line Numbers Dialog

Page Background

ChangePageColorCommand

References

Ribbon Tab

Toolbar

Commands

Read more...

DXRichEdit_Ribbon_TableOfContents

DXRichEdit_TableOfContentsToolbar

InsertTableOfContentsCommand

SetParagraphBodyTextLevelCommand

SetParagraphHeading1LevelCommand

SetParagraphHeading2LevelCommand

SetParagraphHeading3LevelCommand

SetParagraphHeading4LevelCommand

SetParagraphHeading5LevelCommand

SetParagraphHeading6LevelCommand

SetParagraphHeading7LevelCommand

SetParagraphHeading8LevelCommand

SetParagraphHeading9LevelCommand

UpdateTableOfContentsCommand

Table of Contents

DXRichEdit_Ribbon_Captions

DXRichEdit_CaptionsToolbar

InsertFiguresCaptionCommand

InsertTablesCaptionCommand

InsertEquationsCaptionCommand

InsertTableOfFiguresCommand

InsertTableOfTablesCommand

InsertTableOfEquationsCommand

UpdateTableOfContentsCommand

Mail Merge

Ribbon Tab

Toolbar

Commands

Read more...

DXRichEdit_Ribbon_WriteInsertFields

DXRichEdit_WriteAndInsertFieldsToolbar

InsertMergeFieldCommand

Mail Merge

Fields

Mail Merge

RichEditControl.CustomizeMergeFields

DXRichEdit_Ribbon_PreviewResults

DXRichEdit_PreviewResultsToolbar

ToggleViewMergedDataCommand

ShowAllFieldCodesCommand

ShowAllFieldResultsCommand

FirstDataRecordCommand

PreviousDataRecordCommand

NextDataRecordCommand

LastDataRecordCommand

MailMergeSaveDocumentAsCommand

View

Ribbon Tab

Toolbar

Commands

Read more...

DXRichEdit_Ribbon_DocumentViews

DXRichEdit_DocumentViewsToolbar

SwitchToDraftViewCommand

SwitchToPrintLayoutViewCommand

SwitchToSimpleViewCommand

Views

DXRichEdit_Ribbon_Show

DXRichEdit_ShowToolbar

ToggleShowHorizontalRulerCommand

ToggleShowVerticalRulerCommand

Rulers

DXRichEdit_Ribbon_Zoom

DXRichEdit_ZoomToolbar

ZoomOutCommand

ZoomInCommand

 

Review

Ribbon Tab

Toolbar

Commands

Read more...

DXRichEdit_Ribbon_Proofing

RichEdit_ProofingToolbar

CheckSpellingCommand

ShowLanguageFormCommand

Language Dialog

DXRichEdit_Ribbon_Protect

DXRichEdit_ProtectToolbar

ProtectDocumentCommand

ShowRangeEditingPermissionsFormCommand

UnprotectDocumentCommand

Restrictions and Protection

Range Permissions

Document Protection Dialogs

Editing Permissions Dialog

Comments

comment toolbar

NewCommentCommand

NextCommentCommand

PreviousCommentCommand

DeleteOneCommentCommand

Comments

Tracking

tracking toolbar

ToggleTrackChangesCommand

ToggleTrackChangesBarItemCommand

ToggleLockTrackingCommand

ChangeDisplayForReviewModeCommand

ShowMarkupCommand

ViewCommentsCommand

ReviewersCommand

ShowReviewingPaneCommand

Comments

Track Changes

Changes

AcceptAllChangesCommand

AcceptAllChangesAndStopTracking

AcceptAllChangesShownCommand

RejectAllChangesCommand

RejectAllChangesAndStopTracking

RejectAllChangesShownCommand

NextChangeCommand

PreviousChangeCommand

Track Changes

Ribbon Tab

Toolbar

Commands

Read more...

DXRichEdit_Ribbon_Navigation

DXRichEdit_NavigationToolbar

GoToPageHeaderCommand

GoToPageFooterCommand

GoToPreviousPageHeaderFooterCommand

GoToNextPageHeaderFooterCommand

GoToPreviousPageHeaderFooterCommand

ToggleHeaderFooterLinkToPreviousCommand

Headers and Footers

DXRichEdit_Ribbon_Options

DXRichEdit_OptionsToolbar

ToggleDifferentFirstPageCommand

ToggleDifferentOddAndEvenPagesCommand

DXRichEdit_Ribbon_Close

DXRichEdit_CloseToolbar

ClosePageHeaderFooterCommand

Table Tools

Ribbon Tab

Toolbar

Commands

Read more...

table style options ribbon

table style options

ToggleFirstRowCommand

ToggleFirstColumnCommand

ToggleLastRowCommand

ToggleLastColumnCommand

ToggleBandedRowsCommand

ToggleBandedColumnsCommand

Tables

Table Properties Dialogs

Table Layout Dialogs

DXRichEdit_Ribbon_TableStyles

DXRichEdit_TableStylesToolbar

ShowTableStyleFormCommand

borders and shading ribbon

borders and shading

ChangeCurrentBorderRepositoryItemColorCommand

ChangeCurrentBorderRepositoryItemLineThicknessCommand

Shading:

ChangeTableCellsShadingCommand

Borders:

ToggleTableCellsBottomBorderCommand

ToggleTableCellsTopBorderCommand

ToggleTableCellsLeftBorderCommand

ToggleTableCellsRightBorderCommand

ResetTableCellsBordersCommand

ToggleTableCellsAllBordersCommand

ToggleTableCellsOutsideBorderCommand

ToggleTableCellsInsideBorderCommand

ToggleTableCellsInsideHorizontalBorderCommand

ToggleTableCellsInsideVerticalBorderCommand

ToggleShowTableGridLinesCommand

DXRichEdit_Ribbon_Table

DXRichEdit_TablesToolbar

SelectTableCellCommand

SelectTableColumnsCommand

SelectTableRowCommand

SelectTableCommand

ToggleShowTableGridLinesCommand

ShowTablePropertiesFormCommand

DXRichEdit_Ribbon_RowsColumns

DXRichEdit_RowsColumns

ShowDeleteTableCellsFormCommand

DeleteTableColumnsCommand

DeleteTableRowsCommand

DeleteTableCommand

InsertTableRowAboveCommand

InsertTableRowBelowCommand

InsertTableColumnToTheLeftCommand

InsertTableColumnToTheRightCommand

ShowInsertTableCellsFormCommand

DXRichEdit_Ribbon_Merge

DXRichEdit_Merge

MergeTableCellsCommand

ShowSplitTableCellsFormCommand

SplitTableCommand

DXRichEdit_Ribbon_CellSize

DXRichEdit_CellSize

ToggleTableAutoFitContentsCommand

ToggleTableAutoFitWindowCommand

ToggleTableFixedColumnWidthCommand

DXRichEdit_Ribbon_Alignment

DXRichEdit_Alignment

ToggleTableCellsTopLeftAlignmentCommand

ToggleTableCellsTopCenterAlignmentCommand

ToggleTableCellsTopRightAlignmentCommand

ToggleTableCellsMiddleLeftAlignmentCommand

ToggleTableCellsMiddleCenterAlignmentCommand

ToggleTableCellsMiddleRightAlignmentCommand

ToggleTableCellsBottomLeftAlignmentCommand

ToggleTableCellsBottomCenterAlignmentCommand

ToggleTableCellsBottomRightAlignmentCommand

Picture Tools

Ribbon Tab

Toolbar

Commands

Read more...

DXRichEdit_Ribbon_ShapeStyles

RichEdit_ShapeStylesToolbar

ChangeFloatingObjectFillColorCommand

ChangeFloatingObjectOutlineColorCommand

ChangeFloatingObjectOutlineWidthCommand

Shapes

DXRichEdit_Ribbon_Arrange

RichEdit_ArrangeToolbar

Wrap Type:

SetFloatingObjectBehindTextWrapTypeCommand

SetFloatingObjectInFrontOfTextWrapTypeCommand

SetFloatingObjectSquareTextWrapTypeCommand

SetFloatingObjectThroughTextWrapTypeCommand

SetFloatingObjectTightTextWrapTypeCommand

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.