corelibraries-devexpress-dot-utils-dot-commands.md
Represents a command.
Namespace : DevExpress.Utils.Commands
Assembly : DevExpress.Data.v25.2.dll
NuGet Package : DevExpress.Data
public abstract class Command
Public MustInherit Class Command
The command pattern enables you to separate the object that invokes the operation from the one that knows how to perform it. A Command class holds the information on the command source (Command.CommandSourceType and data used in user interface elements to which the command is attached (Command.Description, Command.Image, Command.LargeImage and Command.MenuCaption).
The command’s Command.Execute method performs the actions that are associated with the command.
The Execute method may result in no action taken if the ICommandUIState does not allow the command execution. But sometimes it may be required to perform an action even if the command cannot be executed. The Command.ForceExecute method, which ignores the command state, should be used in this instance.
For information and examples on commands in the XtraRichEdit Suite review the Commands document.
Show 417 items
Object Command PdfViewerCommand
PdfOutlinesTextSizeToSmallCommand
PdfOutlinesWrapLongLinesCommand
PdfReducePageThumbnailsCommand
PdfEnlargePageThumbnailsCommand
PdfOutlinesExpandCollapseTopLevelCommand
PdfOutlinesExpandCurrentCommand
PdfOutlinesHideAfterUseCommand
PdfOutlinesPrintSectionsCommand
PdfOutlinesTextSizeToLargeCommand
PdfOutlinesTextSizeToMediumCommand
PdfRotatePageCounterclockwiseCommand
PdfSetActualSizeZoomModeCommand
PdfSetFitVisibleZoomModeCommand
PdfSetPageLevelZoomModeCommand
PdfShowAnnotationPropertiesCommand
PdfShowDocumentPropertiesCommand
PdfThumbnailsPrintPagesCommand
AddSpacingAfterParagraphCommand
ChangeFloatingObjectFillColorCommand
ExtendPreviousCharacterCommand
InsertRegisteredTrademarkSymbolCommand
InsertTableColumnToTheLeftCommand
InsertTableColumnToTheRightCommand
MailMergeSaveDocumentAsCommand
ScrollHorizontallyByPhysicalOffsetCommand
ScrollVerticallyByPhysicalOffsetCommand
ScrollVerticallyByPhysicalOffsetEnsurePageGenerationCommand
ScrollVerticallyByPixelOffsetCommand
SetDoubleParagraphSpacingCommand
SetFloatingObjectBottomLeftAlignmentCommand
SetFloatingObjectMiddleCenterAlignmentCommand
SetFloatingObjectSquareTextWrapTypeCommand
SetFloatingObjectThroughTextWrapTypeCommand
SetFloatingObjectTopAndBottomTextWrapTypeCommand
SetFloatingObjectTopCenterAlignmentCommand
SetFloatingObjectTopLeftAlignmentCommand
SetFloatingObjectTopRightAlignmentCommand
SetLandscapePageOrientationCommand
SetModerateSectionPageMarginsCommand
SetNarrowSectionPageMarginsCommand
SetNormalSectionPageMarginsCommand
SetParagraphBodyTextLevelCommand
SetParagraphHeading1LevelCommand
SetParagraphHeading2LevelCommand
SetParagraphHeading3LevelCommand
SetParagraphHeading4LevelCommand
SetParagraphHeading5LevelCommand
ShowInsertMergeFieldFormCommand
ShowInsertTableCellsFormCommand
ShowPageMarginsSetupFormCommand
ToggleFontDoubleStrikeoutCommand
ToggleHeaderFooterLinkToPreviousCommand
ToggleParagraphSuppressLineNumbersCommand
ToggleShowTableGridLinesCommand
AddSpacingBeforeParagraphCommand
ChangeFloatingObjectOutlineColorCommand
ChangeFloatingObjectOutlineWidthCommand
ChangeInlinePictureScaleCommand
ChangeParagraphBackColorCommand
ChangeParagraphLineSpacingCommand
ChangeRectangularObjectScaleCommand
ChangeTableCellsShadingCommand
CollapseOrExpandFormulaBarCommand
DecrementNumerationFromParagraphCommand
DecrementNumerationParagraphIndentCommand
DecrementParagraphOutlineLevelCommand
ExtendPreviousParagraphCommand
FloatingObjectBringForwardCommand
FloatingObjectBringInFrontOfTextCommand
FloatingObjectBringToFrontCommand
FloatingObjectSendBackwardCommand
FloatingObjectSendBehindTextCommand
FloatingObjectSendToBackCommand
GoToNextPageHeaderFooterCommand
GoToPreviousPageHeaderFooterCommand
IncrementNumerationFromParagraphCommand
IncrementNumerationParagraphIndentCommand
IncrementParagraphOutlineLevelCommand
InsertFloatingObjectPictureCommand
InsertSectionBreakContinuousCommand
ScrollVerticallyByLogicalOffsetCommand
SetFloatingObjectBehindTextWrapTypeCommand
SetFloatingObjectBottomCenterAlignmentCommand
SetFloatingObjectBottomRightAlignmentCommand
SetFloatingObjectInFrontOfTextWrapTypeCommand
SetFloatingObjectMiddleLeftAlignmentCommand
SetFloatingObjectMiddleRightAlignmentCommand
SetFloatingObjectTightTextWrapTypeCommand
SetSectionLineNumberingRestartNewPageCommand
SetSectionLineNumberingRestartNewSectionCommand
SetSesquialteralParagraphSpacingCommand
SetSingleParagraphSpacingCommand
SetWideSectionPageMarginsCommand
ShowDeleteTableCellsFormCommand
SwitchToPrintLayoutViewCommand
ToggleParagraphAlignmentLeftCommand
ToggleShowHorizontalRulerCommand
ToggleSimpleNumberingListCommandBase
ToggleSpellCheckAsYouTypeCommand
ToggleTableAutoFitContentsCommand
ToggleTableAutoFitWindowCommand
ToggleTableCellsAllBordersCommand
ToggleTableCellsBottomBorderCommand
ToggleTableCellsBottomCenterAlignmentCommand
ToggleTableCellsBottomLeftAlignmentCommand
InsertSectionBreakEvenPageCommand
InsertSectionBreakNextPageCommand
InsertSectionBreakOddPageCommand
RemoveSpacingAfterParagraphCommand
RemoveSpacingBeforeParagraphCommand
SetParagraphHeading6LevelCommand
SetParagraphHeading7LevelCommand
SetParagraphHeading8LevelCommand
SetParagraphHeading9LevelCommand
SetPortraitPageOrientationCommand
SetSectionLineNumberingContinuousCommand
SetSectionLineNumberingNoneCommand
ShowDeleteTableCellsFormMenuCommand
ShowDocumentPropertiesFormCommand
ShowFloatingObjectLayoutOptionsFormCommand
ShowNumberingListFormCommandBase
ShowRangeEditingPermissionsFormCommand
ShowSplitTableCellsFormCommand
ShowSplitTableCellsFormMenuCommand
ShowTablePropertiesFormCommand
ToggleDifferentFirstPageCommand
ToggleDifferentOddAndEvenPagesCommand
ToggleFontDoubleUnderlineCommand
ToggleMultiLevelListCommandBase
ToggleParagraphAlignmentCenterCommand
ToggleParagraphAlignmentJustifyCommand
ToggleParagraphAlignmentRightCommand
ToggleShowVerticalRulerCommand
ToggleSimpleNumberingListCommand
ToggleTableCellsBottomRightAlignmentCommand
ToggleTableCellsInsideBorderCommand
ToggleTableCellsInsideHorizontalBorderCommand
ToggleTableCellsInsideVerticalBorderCommand
ToggleTableCellsLeftBorderCommand
ToggleTableCellsMiddleCenterAlignmentCommand
ToggleTableCellsMiddleLeftAlignmentCommand
ToggleTableCellsMiddleRightAlignmentCommand
ToggleTableCellsOutsideBorderCommand
ToggleTableCellsRightBorderCommand
ToggleTableCellsTopBorderCommand
ToggleTableCellsTopCenterAlignmentCommand
ToggleTableCellsTopLeftAlignmentCommand
ToggleTableCellsTopRightAlignmentCommand
ToggleTableFixedColumnWidthCommand
See Also