Skip to main content
A newer version of this page is available. .

Bar UI

  • 3 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 Lesson 4 - Provide a Bar UI for a Rich Text Editor.

This topic contains a list of available toolbars and 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.

Toolbar

Commands

Read more…

DXRichEdit_CommonToolbar

CreateEmptyDocumentCommand

LoadDocumentCommand

SaveDocumentCommand

SaveDocumentAsCommand

QuickPrintCommand

PrintCommand

UndoCommand

RedoCommand

Import and Export

Supported Formats

Lesson 1 - Create a Simple Rich Text Editor

DXRichEdit_InfoToolbar

ShowDocumentPropertiesFormCommand

Document Properties Dialog

DXRichEdit_ClipboardToolbar

PasteSelectionCommand

CutSelectionCommand

CopySelectionCommand

ShowPasteSpecialFormCommand

Paste Special Dialog

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_ParagraphToolbar

ToggleBulletedListCommand

ToggleSimpleNumberingListCommand

ToggleMultiLevelListCommand

DecrementIndentCommand

IncrementIndentCommand

ToggleShowWhitespaceCommand

ToggleParagraphAlignmentLeftCommand

ToggleParagraphAlignmentCenterCommand

ToggleParagraphAlignmentRightCommand

ToggleParagraphAlignmentJustifyCommand

SetSingleParagraphSpacingCommand

SetSesquialteralParagraphSpacingCommand

SetDoubleParagraphSpacingCommand

ShowLineSpacingFormCommand

AddSpacingBeforeParagraphCommand

AddSpacingAfterParagraphCommand

DevExpress.XtraRichEdit.Commands.ChangeParagraphBackColorCommand

ShowParagraphFormCommand

DevExpress.XtraRichEdit.Commands.ToggleParagraphRightToLeftCommand

DevExpress.XtraRichEdit.Commands.ToggleParagraphLeftToRightCommand

Paragraphs

Text Formatting

How to: Change Formatting of the Current Paragraph

Paragraph and Tabs Dialogs

DXRichEdit_EditingToolbar

FindCommand

ReplaceCommand

Find and Replace Panel

DXRichEdit_StylesToolbar

 

Styles

DXRichEdit_PagesToolbar

InsertPageBreakCommand

 

DXRichEdit_TablesToolbar

InsertTableCommand

Tables

Table Layout Dialogs

DXRichEdit_IllustrationsToolbar

InsertFloatingObjectPictureCommand

Inline Pictures

Shapes

DXRichEdit_TextToolbar

InsertTextBoxCommand

 

DXRichEdit_LinksToolbar

CreateBookmarkCommand

ShowHyperlinkFormCommand

Hyperlinks and Bookmarks

Bookmark Dialog

Edit Hyperlink Dialog

DXRichEdit_HeaderAndFooterToolbar

EditPageHeaderCommand

EditPageFooterCommand

InsertPageNumberFieldCommand

InsertPageCountFieldCommand

Headers and Footers

How to: Insert Page Numbers in Header or Footer

DXRichEdit_SymbolsToolbar

ShowSymbolFormCommand

Symbol Dialog

DXRichEdit_PageSetupToolbar

Margins:

SetNormalSectionPageMarginsCommand

SetNarrowSectionPageMarginsCommand

SetModerateSectionPageMarginsCommand

SetWideSectionPageMarginsCommand

Orientation:

SetPortraitPageOrientationCommand

SetLandscapePageOrientationCommand

Size:

ChangeSectionPaperKindCommand

Columns:

SetSectionOneColumnCommand

SetSectionTwoColumnsCommand

SetSectionThreeColumnsCommand

ShowColumnsSetupFormCommand

Breaks:

InsertPageBreakCommand

InsertColumnBreakCommand

InsertSectionBreakNextPageCommand

InsertSectionBreakEvenPageCommand

InsertSectionBreakOddPageCommand

Line Numbers:

SetSectionLineNumberingNoneCommand

SetSectionLineNumberingContinuousCommand

SetSectionLineNumberingRestartNewPageCommand

SetSectionLineNumberingRestartNewSectionCommand

ToggleParagraphSuppressLineNumbersCommand

ShowLineNumberingFormCommand

Document Layout

Sections

Line Numbering

How to: Configure the Page Layout Programmatically

How to: Create a Three-Column Layout with Uniform Columns

Columns Dialog

Line Numbers Dialog

DXRichEdit_DocumentViewsToolbar

SwitchToDraftViewCommand

SwitchToPrintLayoutViewCommand

SwitchToSimpleViewCommand

Views

DXRichEdit_ShowToolbar

ToggleShowHorizontalRulerCommand

ToggleShowVerticalRulerCommand

Rulers

DXRichEdit_ZoomToolbar

ZoomOutCommand

ZoomInCommand

 

DXRichEdit_NavigationToolbar

GoToPageHeaderCommand

GoToPageFooterCommand

GoToPreviousPageHeaderFooterCommand

GoToNextPageHeaderFooterCommand

ToggleHeaderFooterLinkToPreviousCommand

Headers and Footers

DXRichEdit_OptionsToolbar

ToggleDifferentFirstPageCommand

ToggleDifferentOddAndEvenPagesCommand

Headers and Footers

DXRichEdit_CloseToolbar

ClosePageHeaderFooterCommand

Headers and Footers

DXRichEdit_TableStylesToolbar

Shading:

ChangeTableCellsShadingCommand

Borders:

ToggleTableCellsBottomBorderCommand

ToggleTableCellsTopBorderCommand

ToggleTableCellsLeftBorderCommand

ToggleTableCellsRightBorderCommand

ResetTableCellsBordersCommand

ToggleTableCellsAllBordersCommand

ToggleTableCellsOutsideBorderCommand

ToggleTableCellsInsideBorderCommand

ToggleTableCellsInsideHorizontalBorderCommand

ToggleTableCellsInsideVerticalBorderCommand

Tables

DXRichEdit_Table

SelectTableCellCommand

SelectTableColumnsCommand

SelectTableRowCommand

SelectTableCommand

ToggleShowTableGridLinesCommand

ShowTablePropertiesFormCommand

Tables

Table Properties Dialogs

DXRichEdit_RowsColumns

ShowDeleteTableCellsFormCommand

DeleteTableColumnsCommand

DeleteTableRowsCommand

DeleteTableCommand

InsertTableRowAboveCommand

InsertTableRowBelowCommand

InsertTableColumnToTheLeftCommand

InsertTableColumnToTheRightCommand

ShowInsertTableCellsFormCommand

Tables

Table Layout Dialogs

DXRichEdit_Merge

MergeTableCellsCommand

ShowSplitTableCellsFormCommand

SplitTableCommand

Tables

Table Layout Dialogs

DXRichEdit_CellSize

ToggleTableAutoFitContentsCommand

ToggleTableAutoFitWindowCommand

ToggleTableFixedColumnWidthCommand

Tables

DXRichEdit_Alignment

ToggleTableCellsTopLeftAlignmentCommand

ToggleTableCellsTopCenterAlignmentCommand

ToggleTableCellsTopRightAlignmentCommand

ToggleTableCellsMiddleLeftAlignmentCommand

ToggleTableCellsMiddleCenterAlignmentCommand

ToggleTableCellsMiddleRightAlignmentCommand

ToggleTableCellsBottomLeftAlignmentCommand

ToggleTableCellsBottomCenterAlignmentCommand

ToggleTableCellsBottomRightAlignmentCommand

Tables

DXRichEdit_WriteAndInsertFieldsToolbar

InsertMergeFieldCommand

DXRichEdit_PreviewResultsToolbar

ToggleViewMergedDataCommand

ShowAllFieldCodesCommand

ShowAllFieldResultsCommand

FirstDataRecordCommand

PreviousDataRecordCommand

NextDataRecordCommand

LastDataRecordCommand

MailMergeSaveDocumentAsCommand

Mail Merge

Fields

Fields

How to: Perform a Mail Merge

RichEditControl.CustomizeMergeFields

Mail Merge

Fields

Fields

How to: Perform a Mail Merge

DXRichEdit_ProtectToolbar

ProtectDocumentCommand

ShowRangeEditingPermissionsFormCommand

UnprotectDocumentCommand

Restrictions and Protection

Range Permissions

Document Protection Dialogs

Editing Permissions Dialog

RichEdit_ProofingToolbar

CheckSpellingCommand

 

DXRichEdit_TableOfContentsToolbar

InsertTableOfContentsCommand

SetParagraphBodyTextLevelCommand

SetParagraphHeading1LevelCommand

SetParagraphHeading2LevelCommand

SetParagraphHeading3LevelCommand

SetParagraphHeading4LevelCommand

SetParagraphHeading5LevelCommand

SetParagraphHeading6LevelCommand

SetParagraphHeading7LevelCommand

SetParagraphHeading8LevelCommand

SetParagraphHeading9LevelCommand

UpdateTableOfContentsCommand

Table of Contents

DXRichEdit_CaptionsToolbar

InsertFiguresCaptionCommand

InsertTablesCaptionCommand

InsertEquationsCaptionCommand

InsertTableOfFiguresCommand

InsertTableOfTablesCommand

InsertTableOfEquationsCommand

UpdateTableOfContentsCommand

Table of Contents

RichEdit_ShapeStylesToolbar

ChangeFloatingObjectFillColorCommand

ChangeFloatingObjectOutlineColorCommand

ChangeFloatingObjectOutlineWidthCommand

Floating Objects (Shapes)

RichEdit_ArrangeToolbar

Wrap Type:

SetFloatingObjectBehindTextWrapTypeCommand

SetFloatingObjectInFrontOfTextWrapTypeCommand

SetFloatingObjectSquareTextWrapTypeCommand

SetFloatingObjectThroughTextWrapTypeCommand

SetFloatingObjectTightTextWrapTypeCommand

SetFloatingObjectTopAndBottomTextWrapTypeCommand

Position:

SetFloatingObjectBottomCenterAlignmentCommand

SetFloatingObjectBottomLeftAlignmentCommand

SetFloatingObjectBottomRightAlignmentCommand

SetFloatingObjectMiddleCenterAlignmentCommand

SetFloatingObjectMiddleLeftAlignmentCommand

SetFloatingObjectMiddleRightAlignmentCommand

SetFloatingObjectTopCenterAlignmentCommand

SetFloatingObjectTopLeftAlignmentCommand

SetFloatingObjectTopRightAlignmentCommand

Bring Forward:

FloatingObjectBringForwardCommand

FloatingObjectBringInFrontOfTextCommand

FloatingObjectBringToFrontCommand

Send Backward:

FloatingObjectSendBackwardCommand

FloatingObjectSendBehindTextCommand

FloatingObjectSendToBackCommand

Floating Objects (Shapes)

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.