Back to Devexpress

RichEditCommand Class

officefileapi-devexpress-dot-xtrarichedit-dot-commands-3fac55f6.md

latest40.8 KB
Original Source

RichEditCommand Class

Represents a base class for RichEdit commands.

Namespace : DevExpress.XtraRichEdit.Commands

Assembly : DevExpress.RichEdit.v25.2.Core.dll

NuGet Package : DevExpress.RichEdit.Core

Declaration

csharp
public abstract class RichEditCommand :
    RichEditCommandBase<XtraRichEditStringId>
vb
Public MustInherit Class RichEditCommand
    Inherits RichEditCommandBase(Of XtraRichEditStringId)

The following members return RichEditCommand objects:

LibraryRelated API Members
WinForms ControlsRichEditControl.CreateCommand(RichEditCommandId)
WPF ControlsRichEditControl.CreateCommand(RichEditCommandId)
Office File APIIRichEditAndReviewingPaneCommandFactoryService.CreateCommand(RichEditCommandId, IRichEditControl)
IRichEditCommandFactoryService.CreateCommand(RichEditCommandId)

Remarks

The command pattern enables you to separate the object that invokes the operation from the one that knows how to perform it. A RichEditCommand class holds the information on the data used in user interface elements to which the command is attached (Command.Description, Command.Image, Command.LargeImage and Command.MenuCaption).

The command’s Execute method performs the actions that are associated with the command.

The Execute method may result in no action being taken if the ICommandUIState does not allow command execution. However, it may sometimes be required to perform an action even if the command cannot be executed. The ForceExecute method, which ignores the command state, should be used in this instance.

Inheritance

Show 357 items

Object Command DevExpress.Utils.Commands.ControlCommand<IRichEditControl, RichEditCommandId, DevExpress.XtraRichEdit.Localization.XtraRichEditStringId> DevExpress.XtraRichEdit.Commands.RichEditCommandBase<DevExpress.XtraRichEdit.Localization.XtraRichEditStringId> RichEditCommand ResizeInlinePictureCommand

RichEditMenuItemSimpleCommand

ShowSplitTableCellsFormCommand

ShowSymbolFormCommand

DecreaseFontSizeCommand

DecrementFontSizeCommand

DecrementIndentCommandBase

DecrementNumerationFromParagraphCommand

DeleteAllCommentsCommand

DeleteCommand

DeleteOneCommentCommand

DeleteTableColumnsCommand

DeleteTableColumnsMenuCommand

DeleteTableCommand

InsertSectionBreakEvenPageCommand

InsertSectionBreakNextPageCommand

InsertSectionBreakOddPageCommand

InsertSimpleListCommand

InsertSymbolCommand

InsertTabCommand

InsertTableColumnToTheLeftCommand

InsertTableColumnToTheRightCommand

ChangeFontColorCommand

ChangeFontNameCommand

ChangeInlinePictureScaleCommand

ChangeLanguageCommand

ChangePageColorCommand

ChangeParagraphBackColorCommand

ChangeRectangularObjectScaleCommand

ChangeTableStyleCommand

ClearUndoCommand

ClosePageHeaderFooterCommand

CollapseOrExpandFormulaBarCommand

CopySelectionCommand

CreateBookmarkCommand

CreateEmptyDocumentCommand

CreateFieldCommand

CutSelectionCommand

DecrementIndentCommand

DecrementNumerationParagraphIndentCommand

DecrementParagraphOutlineLevelCommand

DeleteAllCommentsShownCommand

DeleteBookmarkCommand

DeleteRepeatedWordCommand

DeleteTableRowsCommand

DeleteTableRowsMenuCommand

DeleteWordBackCommand

DeleteWordCommand

DeselectAllCommand

EditHyperlinkCommand

EditPageFooterCommand

EditPageHeaderCommand

StartOfLineCommand

SwitchToDraftViewCommand

SwitchToSimpleViewCommand

TabKeyCommand

ToggleBandedColumnsCommand

ToggleBandedRowsCommand

ToggleDifferentFirstPageCommand

ToggleFieldLockedCommand

ToggleTableCellsBottomCenterAlignmentCommand

ToggleTableCellsBottomRightAlignmentCommand

ToggleTableCellsInsideBorderCommand

ToggleTableCellsLeftBorderCommand

ClearFormattingCommand

ExtendPreviousPageCommand

ExtendPreviousParagraphCommand

ExtendPreviousScreenCommand

ExtendPreviousWordCommand

InsertTableRowBelowCommand

InsertTablesCaptionCommand

InsertTextBoxCommand

InsertTextCommand

InsertTrademarkSymbolCommand

LastDataRecordCommand

LoadDocumentCommand

LockFieldCommand

MailMergeSaveDocumentAsCommand

MakeTextLowerCaseCommand

MakeTextUpperCaseCommand

MergeTableCellsCommand

NewCommentCommand

NextCharacterCommand

NextCommentCommand

NextDataRecordCommand

NextPageCommand

NextParagraphCommand

NextScreenCommand

NextWordCommand

ToggleFontDoubleUnderlineCommand

ToggleFontItalicCommand

ToggleFontStrikeoutCommand

ToggleFontSubscriptCommand

ToggleFontSuperscriptCommand

ToggleFontUnderlineCommand

ToggleHeaderFooterLinkToPreviousCommand

ToggleHiddenTextCommand

ToggleLastColumnCommand

ToggleLastRowCommand

ToggleListCommandBase

ToggleMultiLevelListCommand

ToggleMultiLevelListCommandBase

ToggleOvertypeCommand

ToggleParagraphAlignmentCenterCommand

ToggleParagraphAlignmentJustifyCommand

ToggleParagraphAlignmentLeftCommand

ToggleParagraphAlignmentRightCommand

ToggleParagraphSuppressLineNumbersCommand

ToggleReviewingPaneCommand

ToggleShowHorizontalRulerCommand

ToggleShowTableGridLinesCommand

ToggleShowWhitespaceCommand

ToggleSimpleNumberingListCommand

ToggleSimpleNumberingListCommandBase

ToggleSpellCheckAsYouTypeCommand

ToggleTableAutoFitContentsCommand

ToggleTableAutoFitWindowCommand

ToggleTableCellsAllBordersCommand

ToggleTableCellsBottomBorderCommand

ToggleTableCellsBottomLeftAlignmentCommand

ToggleTableCellsInsideHorizontalBorderCommand

ToggleTableCellsInsideVerticalBorderCommand

ToggleTableCellsMiddleCenterAlignmentCommand

ToggleTableCellsMiddleLeftAlignmentCommand

ToggleTableCellsMiddleRightAlignmentCommand

ToggleTableCellsOutsideBorderCommand

ToggleTableCellsRightBorderCommand

ToggleTableCellsTopBorderCommand

ToggleTableCellsTopCenterAlignmentCommand

ToggleTableCellsTopLeftAlignmentCommand

ToggleTableCellsTopRightAlignmentCommand

ToggleTableFixedColumnWidthCommand

ToggleTextCaseCommand

ToggleViewMergedDataCommand

UndoCommand

UnlockFieldCommand

UnprotectDocumentCommand

UpdateFieldCommand

UpdateFieldsCommand

UpdateTableOfContentsCommand

UpdateTableOfFiguresCommand

ViewCommentsCommand

ZoomInCommand

ZoomOutCommand

AddSpacingAfterParagraphCommand

AddSpacingBeforeParagraphCommand

AddWordToDictionaryCommand

BackSpaceKeyCommand

CapitalizeEachWordCaseCommand

ChangeCaseCommand

ChangeDoubleFontSizeCommand

ChangeFloatingObjectFillColorCommand

ChangeFloatingObjectOutlineColorCommand

ChangeFloatingObjectOutlineWidthCommand

ChangeFontBackColorCommand

ChangeFontSizeCommand

ChangeNoProofCommand

ChangeParagraphLineSpacingCommand

ChangeSectionPaperKindCommand

EndOfDocumentCommand

EndOfLineCommand

EnterKeyCommand

ExtendEndOfDocumentCommand

ExtendEndOfLineCommand

ExtendNextCharacterCommand

ExtendNextLineCommand

ExtendNextPageCommand

ExtendNextParagraphCommand

ExtendNextScreenCommand

ExtendNextWordCommand

ExtendPreviousCharacterCommand

ExtendPreviousLineCommand

ExtendStartOfDocumentCommand

ExtendStartOfLineCommand

FindCommand

FirstDataRecordCommand

FitHeightCommand

FitToPageCommand

FitWidthCommand

FloatingObjectBringForwardCommand

FloatingObjectBringInFrontOfTextCommand

FloatingObjectBringToFrontCommand

FloatingObjectSendBackwardCommand

FloatingObjectSendBehindTextCommand

FloatingObjectSendToBackCommand

GoToNextPageHeaderFooterCommand

GoToPageFooterCommand

GoToPageHeaderCommand

GoToPreviousPageHeaderFooterCommand

IgnoreAllMisspellingsCommand

IgnoreMisspellingCommand

IncreaseFontSizeCommand

IncrementFontSizeCommand

IncrementIndentCommand

IncrementIndentCommandBase

IncrementNumerationFromParagraphCommand

IncrementNumerationParagraphIndentCommand

IncrementParagraphOutlineLevelCommand

InsertBulletListCommand

InsertColumnBreakCommand

InsertCopyrightSymbolCommand

InsertEllipsisCommand

InsertEmDashCommand

InsertTableCommand

InsertTableElementMenuCommand

InsertTableOfContentsCommand

InsertTableOfEquationsCommand

InsertTableOfFiguresCommand

InsertTableOfTablesCommand

InsertTableRowAboveCommand

NextLineCommand

OpenHyperlinkCommand

OvertypeTextCommand

PasteSelectionCommand

PreviousCharacterCommand

PreviousCommentCommand

PreviousDataRecordCommand

PreviousLineCommand

PreviousPageCommand

PreviousParagraphCommand

PreviousScreenCommand

PreviousWordCommand

PrintCommand

PrintPreviewCommand

ProtectDocumentCommand

QuickPrintCommand

RedoCommand

RemoveHyperlinkFieldCommand

RemoveSpacingAfterParagraphCommand

RemoveSpacingBeforeParagraphCommand

ReplaceMisspellingCommand

ResetTableCellsBordersCommand

ReviewersCommand

SaveDocumentAsCommand

SaveDocumentCommand

ScrollHorizontallyByPhysicalOffsetCommand

ScrollToPageCommand

ScrollVerticallyByLogicalOffsetCommand

ScrollVerticallyByPhysicalOffsetCommand

ScrollVerticallyByPhysicalOffsetEnsurePageGenerationCommand

ScrollVerticallyByPixelOffsetCommand

SelectAllCommand

SelectTableCommand

SetDoubleParagraphSpacingCommand

SetFloatingObjectBehindTextWrapTypeCommand

SetFloatingObjectBottomCenterAlignmentCommand

SetFloatingObjectBottomLeftAlignmentCommand

SetFloatingObjectBottomRightAlignmentCommand

SetFloatingObjectInFrontOfTextWrapTypeCommand

SetFloatingObjectMiddleCenterAlignmentCommand

SetParagraphHeading3LevelCommand

SetParagraphHeading4LevelCommand

SetParagraphHeading5LevelCommand

SetParagraphHeading6LevelCommand

SetParagraphHeading7LevelCommand

SetParagraphHeading8LevelCommand

SetParagraphHeading9LevelCommand

SetPortraitPageOrientationCommand

SetSectionLineNumberingContinuousCommand

SetSectionLineNumberingNoneCommand

SetSectionLineNumberingRestartNewPageCommand

SetSectionLineNumberingRestartNewSectionCommand

SetSectionOneColumnCommand

SetSectionThreeColumnsCommand

SetSectionTwoColumnsCommand

SetSesquialteralParagraphSpacingCommand

SetSingleParagraphSpacingCommand

ShowColumnsSetupFormCommand

ShowDeleteTableCellsFormCommand

ShowDeleteTableCellsFormMenuCommand

ShowDocumentPropertiesFormCommand

ShowEditStyleFormCommand

ShowFloatingObjectLayoutOptionsFormCommand

ShowFontFormCommand

ShowHyperlinkFormCommand

ShowLanguageFormCommand

ShowLineNumberingFormCommand

ShowLineSpacingFormCommand

ShowNumberingListFormCommand

ShowNumberingListFormCommandBase

ShowPageMarginsSetupFormCommand

ShowPagePaperSetupFormCommand

ShowPageSetupFormCommand

ShowParagraphFormCommand

ShowPasteSpecialFormCommand

ShowRangeEditingPermissionsFormCommand

ShowReviewingPaneCommand

ShowSplitTableCellsFormMenuCommand

ShowTableOptionsFormCommand

ShowTablePropertiesFormCommand

ShowTableStyleFormCommand

ShowTabsFormCommand

ShowTOCFormCommand

SplitTableCommand

StartOfDocumentCommand

SwitchToPrintLayoutViewCommand

ToggleAllFieldsCommand

ToggleBulletedListCommand

ToggleBulletedListCommandBase

ToggleShowVerticalRulerCommand

FindNextCommand

FindPrevCommand

ChangeTableCellsShadingCommand

CheckSpellingCommand

InsertEnDashCommand

InsertEquationsCaptionCommand

InsertFieldCommand

InsertFiguresCaptionCommand

InsertFloatingObjectPictureCommand

InsertLineBreakCommand

InsertMergeFieldCommand

InsertNonBreakingSpaceCommand

InsertPageBreakCommand

InsertPageBreakCommand2

InsertPageCountFieldCommand

InsertPageNumberFieldCommand

InsertParagraphCommand

InsertPictureCommand

InsertRegisteredTrademarkSymbolCommand

InsertSectionBreakContinuousCommand

ReplaceCommand

SetFloatingObjectMiddleLeftAlignmentCommand

SetFloatingObjectMiddleRightAlignmentCommand

SetFloatingObjectSquareTextWrapTypeCommand

SetFloatingObjectThroughTextWrapTypeCommand

SetFloatingObjectTightTextWrapTypeCommand

SetFloatingObjectTopAndBottomTextWrapTypeCommand

SetFloatingObjectTopCenterAlignmentCommand

SetFloatingObjectTopLeftAlignmentCommand

SetFloatingObjectTopRightAlignmentCommand

SetLandscapePageOrientationCommand

SetModerateSectionPageMarginsCommand

SetNarrowSectionPageMarginsCommand

SetNormalSectionPageMarginsCommand

SetParagraphBodyTextLevelCommand

SetParagraphHeading1LevelCommand

SetParagraphHeading2LevelCommand

SetWideSectionPageMarginsCommand

ShiftTabKeyCommand

ShowAllFieldCodesCommand

ShowAllFieldResultsCommand

ShowAltTextFormCommand

ShowBookmarkFormCommand

ShowBorderShadingFormCommand

ShowInsertMergeFieldFormCommand

ShowInsertTableCellsFormCommand

ToggleDifferentOddAndEvenPagesCommand

ToggleFieldCodesCommand

ToggleFirstColumnCommand

ToggleFirstRowCommand

ToggleFontBoldCommand

ToggleFontDoubleStrikeoutCommand

See Also

RichEditCommand Members

DevExpress.XtraRichEdit.Commands Namespace