Skip to main content

DiagramCommands Fields

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