[Expand]General Information
[Expand]WinForms Controls
[Expand]ASP.NET Controls and MVC Extensions
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]eXpress Persistent Objects
[Expand]CodeRush
[Expand]CodeRush Classic
[Collapse]Cross-Platform Core Libraries
 [Expand]DevExpress Data Library
 [Expand]DevExpress Pivot Grid Core Library
 [Expand]Miscellaneous
 [Collapse]API Reference
  [Expand]DevExpress.Data
  [Expand]DevExpress.Data.Browsing
  [Expand]DevExpress.Data.Browsing.Design
  [Expand]DevExpress.Data.Camera
  [Expand]DevExpress.Data.Controls
  [Expand]DevExpress.Data.Controls.ExpressionEditor
  [Expand]DevExpress.Data.Entity
  [Expand]DevExpress.Data.Filtering
  [Expand]DevExpress.Data.Filtering.Exceptions
  [Expand]DevExpress.Data.Filtering.Helpers
  [Expand]DevExpress.Data.Linq
  [Expand]DevExpress.Data.ODataLinq
  [Expand]DevExpress.Data.PivotGrid
  [Expand]DevExpress.Data.PLinq
  [Expand]DevExpress.Data.TreeList
  [Expand]DevExpress.Data.Utils
  [Expand]DevExpress.Data.Utils.ServiceModel
  [Expand]DevExpress.Data.WcfLinq
  [Expand]DevExpress.Data.WizardFramework
  [Expand]DevExpress.Data.XtraReports.DataProviders
  [Expand]DevExpress.Data.XtraReports.Labels
  [Expand]DevExpress.Data.XtraReports.ServiceModel
  [Expand]DevExpress.Data.XtraReports.ServiceModel.DataContracts
  [Expand]DevExpress.Data.XtraReports.Wizard
  [Expand]DevExpress.Data.XtraReports.Wizard.Presenters
  [Expand]DevExpress.Data.XtraReports.Wizard.Views
  [Expand]DevExpress.DataAccess
  [Expand]DevExpress.DataAccess.ConnectionParameters
  [Expand]DevExpress.DataAccess.DataFederation
  [Expand]DevExpress.DataAccess.EntityFramework
  [Expand]DevExpress.DataAccess.Excel
  [Expand]DevExpress.DataAccess.ExpressionEditor
  [Expand]DevExpress.DataAccess.Json
  [Expand]DevExpress.DataAccess.Localization
  [Expand]DevExpress.DataAccess.ObjectBinding
  [Expand]DevExpress.DataAccess.Sql
  [Expand]DevExpress.DataAccess.Sql.DataApi
  [Expand]DevExpress.DataAccess.UI
  [Expand]DevExpress.DataAccess.UI.Design
  [Expand]DevExpress.DataAccess.UI.EntityFramework
  [Expand]DevExpress.DataAccess.UI.Excel
  [Expand]DevExpress.DataAccess.UI.Localization
  [Expand]DevExpress.DataAccess.UI.ObjectBinding
  [Expand]DevExpress.DataAccess.UI.Sql
  [Expand]DevExpress.DataAccess.UI.Wizard
  [Expand]DevExpress.DataAccess.UI.Wizard.Services
  [Expand]DevExpress.DataAccess.UI.Wizard.Views
  [Expand]DevExpress.DataAccess.Web
  [Expand]DevExpress.DataAccess.Wizard
  [Expand]DevExpress.DataAccess.Wizard.Model
  [Expand]DevExpress.DataAccess.Wizard.Presenters
  [Expand]DevExpress.DataAccess.Wizard.Services
  [Expand]DevExpress.DataAccess.Wizard.Views
  [Collapse]DevExpress.Diagram.Core
    ActionType Enumeration
    AdjustBoundaryBehavior Enumeration
    Alignment Enumeration
    BringIntoViewMode Enumeration
    CanvasSizeMode Enumeration
    CollapseButtonVisibilityMode Enumeration
    ConnectionElementState Enumeration
   [Expand]ConnectionPoint Class
    ConnectorPointRestrictions Enumeration
    ConnectorPointType Enumeration
   [Expand]ConnectorType Class
    ContainerDragMode Enumeration
   [Expand]DefaultBarItemNames Class
    DiagramActionStage Enumeration
   [Collapse]DiagramCommandsBase Class
     DiagramCommandsBase Members
     DiagramCommandsBase Constructor
    [Expand]DiagramCommandsBase Properties
    [Expand]DiagramCommandsBase Methods
    DiagramConnectorsSeparationMode Enumeration
    DiagramExportFormat Enumeration
   [Expand]DiagramItemTypeRegistrator Class
    DiagramScrollMode Enumeration
   [Expand]DiagramStencil Class
   [Expand]DiagramTheme Class
   [Expand]DiagramTool Class
   [Expand]DiagramToolboxRegistrator Class
    Direction Enumeration
    DragActionKind Enumeration
    DragDropCursor Enumeration
    DragDropEffectsKind Enumeration
    DragDropKeyState Enumeration
    ExpandSubordinatesButtonMode Enumeration
   [Expand]FactoryConnectorTool Class
   [Expand]FactoryItemTool Class
    ImageFlipMode Enumeration
    ItemsActionKind Enumeration
    ItemsActionSource Enumeration
    ItemsChangedAction Enumeration
    ItemUsage Enumeration
    LineJumpPlacement Enumeration
   [Expand]MeasureUnit Class
   [Expand]MeasureUnits Class
    ModifySelectionMode Enumeration
    OrientationKind Enumeration
    PageSetupTabs Enumeration
    PointerToolDragMode Enumeration
    PrintExportMode Enumeration
    PropertiesPanelVisibility Enumeration
    ResizingMode Enumeration
    SelectionMode Enumeration
   [Expand]ShapeDescription Class
   [Expand]ShapeDescriptionBase Class
    StretchMode Enumeration
    TextAlignmentKind Enumeration
   [Expand]ThemeRegistrator Class
    ToolboxVisibility Enumeration
    VerticalAlignmentKind Enumeration
  [Expand]DevExpress.Diagram.Core.Layout
  [Expand]DevExpress.Diagram.Core.Localization
  [Expand]DevExpress.Diagram.Core.Shapes
  [Expand]DevExpress.Diagram.Core.Themes
  [Expand]DevExpress.DocumentServices.ServiceModel
  [Expand]DevExpress.DocumentServices.ServiceModel.Client
  [Expand]DevExpress.DocumentServices.ServiceModel.DataContracts
  [Expand]DevExpress.DocumentView
  [Expand]DevExpress.Entity.Model
  [Expand]DevExpress.Entity.ProjectModel
  [Expand]DevExpress.Export
  [Expand]DevExpress.Export.Xl
  [Expand]DevExpress.Map
  [Expand]DevExpress.Mvvm
  [Expand]DevExpress.Mvvm.DataAnnotations
  [Expand]DevExpress.Mvvm.DataModel
  [Expand]DevExpress.Mvvm.Gantt
  [Expand]DevExpress.Mvvm.ModuleInjection
  [Expand]DevExpress.Mvvm.UI
  [Expand]DevExpress.Mvvm.Utils
  [Expand]DevExpress.Mvvm.ViewModel
  [Expand]DevExpress.Office.Crypto
  [Expand]DevExpress.PivotGrid.Printing
  [Expand]DevExpress.Printing
  [Expand]DevExpress.Printing.Core
  [Expand]DevExpress.Printing.ExportHelpers
  [Expand]DevExpress.ReportServer.Printing
  [Expand]DevExpress.ReportServer.Printing.Services
  [Expand]DevExpress.ReportServer.ServiceModel.Client
  [Expand]DevExpress.ReportServer.ServiceModel.ConnectionProviders
  [Expand]DevExpress.ReportServer.ServiceModel.DataContracts
  [Expand]DevExpress.Schedule
  [Expand]DevExpress.Security.Resources
  [Expand]DevExpress.Services
  [Expand]DevExpress.Sparkline
  [Expand]DevExpress.TreeMap
  [Expand]DevExpress.Utils
  [Expand]DevExpress.Utils.Commands
  [Expand]DevExpress.Utils.Controls
  [Expand]DevExpress.Utils.Filtering.Internal
  [Expand]DevExpress.Utils.IoC
  [Expand]DevExpress.Utils.Localization
  [Expand]DevExpress.Utils.Serializing.Helpers
  [Expand]DevExpress.Utils.Svg
  [Expand]DevExpress.WebUtils
  [Expand]DevExpress.Xpf.Core
  [Expand]DevExpress.Xpf.Printing
  [Expand]DevExpress.Xpo
  [Expand]DevExpress.Xpo.DB
  [Expand]DevExpress.Xpo.DB.Exceptions
  [Expand]DevExpress.Xpo.DB.Helpers
  [Expand]DevExpress.Xpo.Helpers
  [Expand]DevExpress.XtraCharts
  [Expand]DevExpress.XtraCharts.Localization
  [Expand]DevExpress.XtraCharts.Native
  [Expand]DevExpress.XtraCharts.Printing
  [Expand]DevExpress.XtraEditors
  [Expand]DevExpress.XtraEditors.DXErrorProvider
  [Expand]DevExpress.XtraExport.Csv
  [Expand]DevExpress.XtraGauges.Base
  [Expand]DevExpress.XtraGauges.Core
  [Expand]DevExpress.XtraGauges.Core.Base
  [Expand]DevExpress.XtraGauges.Core.Drawing
  [Expand]DevExpress.XtraGauges.Core.Localization
  [Expand]DevExpress.XtraGauges.Core.Model
  [Expand]DevExpress.XtraGauges.Core.Primitive
  [Expand]DevExpress.XtraGrid
  [Expand]DevExpress.XtraPivotGrid
  [Expand]DevExpress.XtraPivotGrid.Customization
  [Expand]DevExpress.XtraPivotGrid.Data
  [Expand]DevExpress.XtraPivotGrid.Localization
  [Expand]DevExpress.XtraPivotGrid.Selection
  [Expand]DevExpress.XtraPrinting
  [Expand]DevExpress.XtraPrinting.BarCode
  [Expand]DevExpress.XtraPrinting.Caching
  [Expand]DevExpress.XtraPrinting.DataNodes
  [Expand]DevExpress.XtraPrinting.Drawing
  [Expand]DevExpress.XtraPrinting.Export
  [Expand]DevExpress.XtraPrinting.Export.Web
  [Expand]DevExpress.XtraPrinting.Localization
  [Expand]DevExpress.XtraPrinting.Native
  [Expand]DevExpress.XtraPrinting.Shape
  [Expand]DevExpress.XtraPrinting.Shape.Native
  [Expand]DevExpress.XtraPrinting.WebClientUIControl.DataContracts
  [Expand]DevExpress.XtraPrinting.XamlExport
  [Expand]DevExpress.XtraPrintingLinks
  [Expand]DevExpress.XtraReports
  [Expand]DevExpress.XtraReports.Design
  [Expand]DevExpress.XtraReports.Parameters
  [Expand]DevExpress.XtraReports.ReportGeneration
  [Expand]DevExpress.XtraReports.UI
  [Expand]DevExpress.XtraScheduler
  [Expand]DevExpress.XtraScheduler.Compatibility
  [Expand]DevExpress.XtraScheduler.Drawing
  [Expand]DevExpress.XtraScheduler.Exchange
  [Expand]DevExpress.XtraScheduler.iCalendar
  [Expand]DevExpress.XtraScheduler.iCalendar.Components
  [Expand]DevExpress.XtraScheduler.Localization
  [Expand]DevExpress.XtraScheduler.Native
  [Expand]DevExpress.XtraScheduler.Outlook
  [Expand]DevExpress.XtraScheduler.Outlook.Interop
  [Expand]DevExpress.XtraScheduler.Reporting
  [Expand]DevExpress.XtraScheduler.Services
  [Expand]DevExpress.XtraScheduler.Services.Implementation
  [Expand]DevExpress.XtraScheduler.Tools
  [Expand]DevExpress.XtraScheduler.UI
  [Expand]DevExpress.XtraScheduler.Xml
  [Expand]DevExpress.XtraSpellChecker
  [Expand]DevExpress.XtraSpellChecker.Rules
[Expand]Tools and Utilities
 End-User Documentation
View this topic on docs.devexpress.com (Learn more)

DiagramCommandsBase Members

Serves as a base for classes providing access to Diagram commands.

Expanded Public Constructors

Show: Inherited
  Name Description
Public method DiagramCommandsBase Initializes a new instance of the DiagramCommandsBase class.
Top

Expanded Public Properties

Show: Inherited
  Name Description
Public propertyStatic member DefaultCommands
Public propertyStatic member SelectionCommands Provides access to selection commands.
Public propertyStatic member UndoRedoCommands Provides access to undo and redo commands.
Public propertyStatic member ZoomCommands Provides access to zoom commands.
Top

Expanded Public Methods

Show: Inherited
  Name Description
Public method CanExecute Gets whether the specified command can be executed in its current state.
Public method CanExecute<T> Gets whether the specified command can be executed in its current state.
Public methodStatic member Equals Determines whether the specified System.Object instances are considered equal. (Inherited from System.Object)
Public method Equals Determines whether the specified System.Object is equal to the current System.Object. (Inherited from System.Object)
Public method Execute Executes the specified diagram command.
Public method Execute<T> Executes the specified diagram command.
Public method GetCommandHotkeys
Public method GetHashCode Serves as a hash function for a particular type. System.Object.GetHashCode is suitable for use in hashing algorithms and data structures like a hash table. (Inherited from System.Object)
Public methodStatic member GetKeyDownCommand Gets the command associated with pressing down the specified key or key combination.
Public methodStatic member GetKeyUpCommand Gets the command associated with releasing the specified key or key combination.
Public method GetType Gets the System.Type of the current instance. (Inherited from System.Object)
Public methodStatic member ReferenceEquals Determines whether the specified System.Object instances are the same instance. (Inherited from System.Object)
Public method RegisterHandlers Allows you to override the default commands.
Public method RegisterHotKeys Allows you to clear the existing shortcuts or define new ones.
Public method ToString Returns a System.String that represents the current System.Object. (Inherited from System.Object)
Public method UpdateCommands
Top

Expanded Public Fields

Show: Inherited
  Name Description
Public fieldStatic member BringForwardCommand Bring the selected diagram items forward.
Public fieldStatic member BringToFrontCommand Bring the selected diagram items to the front.
Public fieldStatic member CancelCommand Exit the input state (i.e., editing a text within a diagram item) or, if the control is not in the input state, deselect all diagram items.
Public fieldStatic member ChangeConnectorTypeCommand Change the type of the selected connector.
Public fieldStatic member CircularLayoutCommand Realign diagram items according to the circular layout algorithm.
Public fieldStatic member CollapseSelectedContainersCommand
Public fieldStatic member CopyCommand Copy the selected diagram items.
Public fieldStatic member CutCommand Remove the selected diagram items and copy them to the Clipboard.
Public fieldStatic member DecreaseFontSizeCommand Decrease the font size for the text within the selected diagram items.
Public fieldStatic member DeleteCommand Remove the selected diagram items.
Public fieldStatic member EditCommand Edit the text within the selected shape.
Public fieldStatic member EmptyCommand
Public fieldStatic member ExportDiagramCommand Export the diagram in the specified format to a file.
Public fieldStatic member ExportToPdfCommand
Public fieldStatic member FitToDrawingCommand Change the page size to fit the diagram contents.
Public fieldStatic member FitToPageCommand Set the diagram zoom factor value to fit all pages with content within the canvas.
Public fieldStatic member FitToWidthCommand Set the diagram zoom factor value to fit the entire diagram width.
Public fieldStatic member FlipImageCommand Flip the selected image item.
Public fieldStatic member FocusNextControlCommand
Public fieldStatic member FocusPrevControlCommand
Public fieldStatic member IncreaseFontSizeCommand Increase the font size for the text within the selected diagram items.
Public fieldStatic member InsertImageCommand Invoke the "Insert Picture" dialog window.
Public fieldStatic member LoadImageCommand Invoke the Insert Picture dialog to change the selected image item.
Public fieldStatic member MindMapTreeLayoutCommand Realign diagram items to form a mind map tree diagram.
Public fieldStatic member MindMapTreeLayoutForSubordinatesCommand Realign the subordinate items of the selected diagram item to form a mind map tree.
Public fieldStatic member MoveSelectionCommand Move the selected diagram items the specified distance from its current position in the specified direction.
Public fieldStatic member MoveSelectionNoSnapCommand Move the selected diagram items the specified distance from its current position in the specified direction without snapping them to the grid.
Public fieldStatic member NewFileCommand Close the current file and create a new one. If the current file contains unsaved changes, the end-user is prompted to save them.
Public fieldStatic member OpenFileCommand Create a new diagram file and open it.
Public fieldStatic member PasteCommand Inserts the diagram items from the Clipboard onto the canvas.
Public fieldStatic member PrintCommand Invoke the Print dialog window.
Public fieldStatic member QuickPrintCommand Print the diagram with default print settings.
Public fieldStatic member RedoCommand Reapply the last action that was undone in the diagram control.
Public fieldStatic member ResetSelectedImagesCommand Reset the selected images to their original state.
Public fieldStatic member RotateCommand Rotate the selected item counterclockwise around its anchor point by the specified angle.
Public fieldStatic member SaveFileAsCommand Invoke the Save File As dialog window.
Public fieldStatic member SaveFileCommand Save changes made to the diagram. If the diagram has not been saved to a file before, the Save File As dialog window is invoked.
Public fieldStatic member SelectAllCommand Select all items within the diagram.
Public fieldStatic member SelectConnectorToolCommand Select the tool used to create connectors.
Public fieldStatic member SelectEllipseToolCommand Select the tool used to create ellipse shapes.
Public fieldStatic member SelectHexagonToolCommand Select the tool used to create hexagonal shapes.
Public fieldStatic member SelectNextItemCommand Select the next diagram item in the order they were added to the diagram.
Public fieldStatic member SelectPanToolCommand Select the tool used to navigate the diagram.
Public fieldStatic member SelectPointerToolCommand Select the tool used to select diagram items.
Public fieldStatic member SelectPrevItemCommand Select the previous diagram item in the order they were added to the diagram.
Public fieldStatic member SelectRectangleToolCommand Select the tool used to create rectangular shapes.
Public fieldStatic member SelectRightTriangleToolCommand Select the tool used to create triangular shapes.
Public fieldStatic member SelectToolCommand Select the specified diagram tool.
Public fieldStatic member SendBackwardCommand Send the selected diagram items backward.
Public fieldStatic member SendToBackCommand Send the selected diagram items to the back.
Public fieldStatic member SetHorizontalAlignmentCommand Set the horizontal alignment of the text within the selected shapes.
Public fieldStatic member SetPageParametersCommand Invoke the Page Setup dialog window.
Public fieldStatic member SetSelectedContainersHeaderPaddingCommand Set the specified header padding value for the selected container items.
Public fieldStatic member SetSelectedContainersPaddingCommand Set the specified padding value for the selected container items.
Public fieldStatic member SetSelectedContainersShapeCommand Set the specified shape style for the selected container items.
Public fieldStatic member SetSelectedImagesScaleCommand Set the specified scale factor for the selected image items.
Public fieldStatic member SetSelectedImagesStretchModeCommand Set the specified stretch mode for the selected image items.
Public fieldStatic member SetSelectedItemsStyleCommand Set the specified style (id) for the selected diagram items.
Public fieldStatic member SetVerticalAlignmentCommand Set the vertical alignment of the text within the selected shapes.
Public fieldStatic member SetZoomCommand Apply a zoom factor value to a document.
Public fieldStatic member ShowContainerHeaderCommand Toggle the visibility of headers of the selected containers.
Public fieldStatic member ShowPopupMenuCommand Invoke the popup menu for the selected item.
Public fieldStatic member ShowPrintPreviewCommand Invoke the Print Preview.
Public fieldStatic member ShowPropertiesPanelCommand Invoke the 'Properties' panel.
Public fieldStatic member StartDragToolAlternateCommand
Public fieldStatic member StartDragToolCommand Select the tool used to drag diagram items.
Public fieldStatic member SugiyamaLayoutCommand Realign diagram items according to the layered graph drawing (Sugiyama-style graph drawing) algorithm.
Public fieldStatic member TipOverTreeLayoutCommand Realign diagram items according to the tip-over tree layout algorithm.
Public fieldStatic member TipOverTreeLayoutForSubordinatesCommand Realign the subordinate items of the selected diagram item according to the tip-over tree layout algorithm.
Public fieldStatic member ToggleFontBoldCommand Toggle bold font for the text within the selected shapes.
Public fieldStatic member ToggleFontItalicCommand Toggle italic font for the text within the selected shapes.
Public fieldStatic member ToggleFontStrikethroughCommand Toggle strikethrough for the text within the selected shapes.
Public fieldStatic member ToggleFontUnderlineCommand Toggle underline for the text within the selected shapes.
Public fieldStatic member ToggleSubordinatesVisibilityCommand Toggle the visibility of the child items of the selected diagram item.
Public fieldStatic member TreeLayoutCommand Realign diagram items to form a tree diagram.
Public fieldStatic member TreeLayoutForSubordinatesCommand Realign the subordinate items of the selected diagram item according to the tree layout algorithm.
Public fieldStatic member UndoCommand Cancel changes resulting from the last operation.
Public fieldStatic member UseToolCommand Use a diagram tool.
Public fieldStatic member ZoomInCommand Increase the current zoom factor of a diagram.
Public fieldStatic member ZoomOutCommand Decrease the current zoom factor of a diagram.
Top

Expanded See Also

Is this topic helpful?​​​​​​​