Back to Devexpress

DiagramCommands Members

wpf-devexpress-dot-xpf-dot-diagram-dot-diagramcommands-dot-underscore-members.md

latest42.8 KB
Original Source

DiagramCommands Members

Provides access to diagram commands.

Constructors

NameDescription
DiagramCommands(DiagramControl)Initializes a new instance of the DiagramCommands class.

Fields

NameDescription
BringForwardCommand staticBring the selected diagram items forward. Inherited from DiagramCommandsBase.
BringToFrontCommand staticBring the selected diagram items to the front. Inherited from DiagramCommandsBase.
CancelCommand staticExit 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 staticChange the type of the selected connector. Inherited from DiagramCommandsBase.
CircularLayoutCommand staticRealign diagram items according to the circular layout algorithm. Inherited from DiagramCommandsBase.
CollapseSelectedContainersCommand staticCollapse the selected containers. Inherited from DiagramCommandsBase.
CopyCommand staticCopy the selected diagram items. Inherited from DiagramCommandsBase.
CutCommand staticRemove the selected diagram items and copy them to the Clipboard. Inherited from DiagramCommandsBase.
DecreaseFontSizeCommand staticDecrease the font size for the text within the selected diagram items. Inherited from DiagramCommandsBase.
DeleteCommand staticRemove the selected diagram items. Inherited from DiagramCommandsBase.
EditCommand staticEdit the text within the selected shape. Inherited from DiagramCommandsBase.
EmptyCommand staticAn empty command. Inherited from DiagramCommandsBase.
ExportDiagramCommand staticExport the diagram in the specified format to a file. Inherited from DiagramCommandsBase.
ExportToPdfCommand staticExports the diagram to a PDF document. Inherited from DiagramCommandsBase.
ExportToSvgCommand staticInherited from DiagramCommandsBase.
FitToDrawingCommand staticChange the page size to fit the diagram contents. Inherited from DiagramCommandsBase.
FitToPageCommand staticSet the diagram zoom factor value to fit all pages with content within the canvas. Inherited from DiagramCommandsBase.
FitToWidthCommand staticSet the diagram zoom factor value to fit the entire diagram width. Inherited from DiagramCommandsBase.
FlipImageCommand staticFlip the selected image item. Inherited from DiagramCommandsBase.
FocusNextControlCommand staticFocuses the next control after the Diagram control in the visual tree. Inherited from DiagramCommandsBase.
FocusPrevControlCommand staticFocuses the previous control after the Diagram control in the visual tree. Inherited from DiagramCommandsBase.
IncreaseFontSizeCommand staticIncrease the font size for the text within the selected diagram items. Inherited from DiagramCommandsBase.
InsertImageCommand staticInvoke the “Insert Picture” dialog window. Inherited from DiagramCommandsBase.
LoadImageCommand staticInvoke the Insert Picture dialog to change the selected image item. Inherited from DiagramCommandsBase.
MindMapTreeLayoutCommand staticRealign diagram items to form a mind map tree diagram. Inherited from DiagramCommandsBase.
MindMapTreeLayoutForSubordinatesCommand staticRealign the subordinate items of the selected diagram item to form a mind map tree. Inherited from DiagramCommandsBase.
MoveSelectionCommand staticMove the selected diagram items the specified distance from its current position in the specified direction. Inherited from DiagramCommandsBase.
MoveSelectionNoSnapCommand staticMove 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 staticClose 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 staticCreate a new diagram file and open it. Inherited from DiagramCommandsBase.
PasteCommand staticInserts the diagram items from the Clipboard onto the canvas. Inherited from DiagramCommandsBase.
PrintCommand staticInvoke the Print dialog window. Inherited from DiagramCommandsBase.
QuickPrintCommand staticPrint the diagram with default print settings. Inherited from DiagramCommandsBase.
RedoCommand staticReapply the last action that was undone in the diagram control. Inherited from DiagramCommandsBase.
ResetSelectedImagesCommand staticReset the selected images to their original state. Inherited from DiagramCommandsBase.
RotateCommand staticRotate the selected item counterclockwise around its anchor point by the specified angle. Inherited from DiagramCommandsBase.
SaveFileAsCommand staticInvoke the Save File As dialog window. Inherited from DiagramCommandsBase.
SaveFileCommand staticSave 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 staticSelect all items within the diagram. Inherited from DiagramCommandsBase.
SelectConnectorToolCommand staticSelect the tool used to create connectors. Inherited from DiagramCommandsBase.
SelectEllipseToolCommand staticSelect the tool used to create ellipse shapes. Inherited from DiagramCommandsBase.
SelectHexagonToolCommand staticSelect the tool used to create hexagonal shapes. Inherited from DiagramCommandsBase.
SelectNextItemCommand staticSelect the next diagram item in the order they were added to the diagram. Inherited from DiagramCommandsBase.
SelectPanToolCommand staticSelect the tool used to navigate the diagram. Inherited from DiagramCommandsBase.
SelectPointerToolCommand staticSelect the tool used to select diagram items. Inherited from DiagramCommandsBase.
SelectPrevItemCommand staticSelect the previous diagram item in the order they were added to the diagram. Inherited from DiagramCommandsBase.
SelectRectangleToolCommand staticSelect the tool used to create rectangular shapes. Inherited from DiagramCommandsBase.
SelectRightTriangleToolCommand staticSelect the tool used to create triangular shapes. Inherited from DiagramCommandsBase.
SelectTextToolCommand staticSelect the tool used to create text shapes. Inherited from DiagramCommandsBase.
SelectToolCommand staticSelect the specified diagram tool. Inherited from DiagramCommandsBase.
SendBackwardCommand staticSend the selected diagram items backward. Inherited from DiagramCommandsBase.
SendToBackCommand staticSend the selected diagram items to the back. Inherited from DiagramCommandsBase.
SetHorizontalAlignmentCommand staticSet the horizontal alignment of the text within the selected shapes. Inherited from DiagramCommandsBase.
SetPageParametersCommand staticInvoke the Page Setup dialog window. Inherited from DiagramCommandsBase.
SetSelectedContainersHeaderPaddingCommand staticSet the specified header padding value for the selected container items. Inherited from DiagramCommandsBase.
SetSelectedContainersPaddingCommand staticSet the specified padding value for the selected container items. Inherited from DiagramCommandsBase.
SetSelectedContainersShapeCommand staticSet the specified shape style for the selected container items. Inherited from DiagramCommandsBase.
SetSelectedImagesScaleCommand staticSet the specified scale factor for the selected image items. Inherited from DiagramCommandsBase.
SetSelectedImagesStretchModeCommand staticSet the specified stretch mode for the selected image items. Inherited from DiagramCommandsBase.
SetSelectedItemsStyleCommand staticSet the specified style (id) for the selected diagram items. Inherited from DiagramCommandsBase.
SetSelectedListsOrientationCommand staticInherited from DiagramCommandsBase.
SetVerticalAlignmentCommand staticSet the vertical alignment of the text within the selected shapes. Inherited from DiagramCommandsBase.
SetZoomCommand staticApply a zoom factor value to a document. Inherited from DiagramCommandsBase.
ShowContainerHeaderCommand staticToggle the visibility of headers of the selected containers. Inherited from DiagramCommandsBase.
ShowPopupMenuCommand staticInvoke the popup menu for the selected item. Inherited from DiagramCommandsBase.
ShowPrintPreviewCommand staticInvoke the Print Preview. Inherited from DiagramCommandsBase.
ShowPropertiesPanelCommand staticInvoke the ‘Properties’ panel. Inherited from DiagramCommandsBase.
StartDragToolAlternateCommand staticStart a drag-and-drop operation for the tool passed to the command as the parameter. Inherited from DiagramCommandsBase.
StartDragToolCommand staticSelect the tool used to drag diagram items. Inherited from DiagramCommandsBase.
SugiyamaLayoutCommand staticRealign diagram items according to the layered graph drawing (Sugiyama-style graph drawing) algorithm. Inherited from DiagramCommandsBase.
TipOverTreeLayoutCommand staticRealign diagram items according to the tip-over tree layout algorithm. Inherited from DiagramCommandsBase.
TipOverTreeLayoutForSubordinatesCommand staticRealign the subordinate items of the selected diagram item according to the tip-over tree layout algorithm. Inherited from DiagramCommandsBase.
ToggleFontBoldCommand staticToggle bold font for the text within the selected shapes. Inherited from DiagramCommandsBase.
ToggleFontItalicCommand staticToggle italic font for the text within the selected shapes. Inherited from DiagramCommandsBase.
ToggleFontStrikethroughCommand staticToggle strikethrough for the text within the selected shapes. Inherited from DiagramCommandsBase.
ToggleFontUnderlineCommand staticToggle underline for the text within the selected shapes. Inherited from DiagramCommandsBase.
ToggleSubordinatesVisibilityCommand staticToggle the visibility of the child items of the selected diagram item. Inherited from DiagramCommandsBase.
TreeLayoutCommand staticRealign diagram items to form a tree diagram. Inherited from DiagramCommandsBase.
TreeLayoutForSubordinatesCommand staticRealign the subordinate items of the selected diagram item according to the tree layout algorithm. Inherited from DiagramCommandsBase.
UndoCommand staticCancel changes resulting from the last operation. Inherited from DiagramCommandsBase.
UseToolCommand staticUse a diagram tool. Inherited from DiagramCommandsBase.
ZoomInCommand staticIncrease the current zoom factor of a diagram. Inherited from DiagramCommandsBase.
ZoomOutCommand staticDecrease the current zoom factor of a diagram. Inherited from DiagramCommandsBase.

Properties

NameDescription
BringForwardGets the command that brings the selected diagram items forward.
BringToFrontGets the command that brings the selected diagram items to the front.
CancelGets the command that cancels the current selection.
ChangeConnectorTypeGets the command that changes the connector type.
CircularLayoutGets the command that realigns diagram items to form a circular layout.
CollapseSelectedContainers
CopyGets the command that copies the selected diagram items to the Clipboard.
CutGets the command that removes the selected diagram items and copies them to the Clipboard.
DecreaseFontSizeGets the command that decreases the font size for the text within the selected diagram items.
DefaultCommands staticInherited from DiagramCommandsBase.
DeleteGets the command that removes the selected diagram items.
DisplayItemPropertiesObsolete. Gets the command that invokes the Properties Panel.
EditGets the command that initiates text editing for the selected shape.
EmptyThis member supports the internal infrastructure and is not intended to be used directly from your code.
ExportDiagramGets the command that exports the diagram to an image file of the specified format.
ExportToPdf
ExportToSvg
FitToDrawingGets the command that changes the page size to fit the diagram contents.
FitToPageGets the command that sets the diagram zoom factor value to fit all pages with content within the canvas.
FitToWidthGets the command that sets the diagram zoom factor value to fit the entire diagram width.
FlipImageGets the command that flips the selected image.
FocusNextControlGets the command that moves focus to the next control.
FocusPrevControlGets the command that moves focus to the previous control.
IncreaseFontSizeGets the command that increases the font size for the text within the selected diagram items.
InsertImageGets the command that invokes the Insert Image dialog that allows the end-user to add an image item to the diagram.
LoadImageGets the command that invokes the Insert Image dialog that allows the end-user to change the selected image item.
MindMapTreeLayoutGets the command that realigns diagram items to form a mind-map tree diagram.
MindMapTreeLayoutForSubordinatesGets the command that applies the mind-map tree layout to the subordinates of the diagram items.
MoveSelectionGets the command that moves currently selected items in the specified direction.
MoveSelectionNoSnapGets the command that moves currently selected items in the specified direction without snapping to grid lines or other items.
NewFileGets the command that closes the current file and creates a new one. If the current file contains unsaved changes, the end-user is prompted to save them.
OpenFileGets the command that invokes the Open File dialog window.
PasteGets the command that inserts the diagram items from the clipboard onto the Canvas.
PrintGets the command that invokes the Print dialog window.
QuickPrintGets the command that prints the diagram with default print settings.
RedoGets the command that reapplies the last action that was undone in the diagram control.
ResetSelectedImagesGets the command that resets the appearance of the selected image items.
RotateGets the command that rotates the selected items by the specified angle.
SaveFileGets the command that saves changes made to the diagram. If the diagram has not been saved to a file before, the command invokes the Save File As dialog window.
SaveFileAsGets the command that invokes the Save File As dialog window.
SelectAllGets the command that selects all items within the diagram.
SelectConnectorToolGets the command that selects the connector tool.
SelectEllipseToolGets the command that selects the ellipse tool.
SelectHexagonToolGets the command that selects the hexagon tool.
SelectionCommands staticProvides access to selection commands. Inherited from DiagramCommandsBase.
SelectNextItemGets the command that selects the next diagram item in the order they were added to the diagram.
SelectPanToolGets the command that selects the pan tool.
SelectPointerToolGets the command that selects the pointer tool.
SelectPrevItemGets the command that selects the previous diagram item in the order they were added to the diagram.
SelectRectangleToolGets the command that selects the rectangle tool.
SelectRightTriangleToolGets the command that selects the right triangle tool.
SelectTextTool
SelectToolGets the command that selects a diagram tool.
SendBackwardGets the command that sends the selected diagram items backward.
SendToBackGets the command that sends the selected diagram items to the back.
SetHorizontalAlignmentGets the command that applies the specified horizontal alignment to the text within the selected diagram items.
SetPageParametersGets the command that invokes the Page Setup Dialog Window.
SetSelectedContainersHeaderPaddingGets the command that changes the amount of header padding for the selected containers.
SetSelectedContainersPaddingGets the command that changes the amount of padding for the selected container.
SetSelectedContainersShapeGets the command that changes the shape of the selected container.
SetSelectedImagesScaleGets the command that sets the specified zoom factor for selected image items.
SetSelectedImagesStretchModeGets the command that sets the specified stretch mode for selected image items.
SetSelectedItemsStyleGets the command that sets the style of the selected diagram item.
SetSelectedListsOrientation
SetVerticalAlignmentGets the command that applies the specified vertical alignment to the text within the selected diagram items.
SetZoomGets the command that applies a zoom factor value to a document.
ShowContainerHeaderGets the command that toggles the visibility of the header for the currently selected container items.
ShowPopupMenuGets the command that invokes the popup menu for the selected item.
ShowPrintPreviewGets the command that invokes the Print Preview.
ShowPropertiesPanelGets the command that invokes the Properties Panel.
StartDragToolThis member supports the internal infrastructure and is not intended to be used directly from your code.
StartDragToolAlternateThis member supports the internal infrastructure and is not intended to be used directly from your code.
SugiyamaLayoutGets the command that realigns diagram items according to the layered graph drawing (Sugiyama-style graph drawing) algorithm.
TipOverTreeLayoutGets the command that realigns diagram items to form a tip-over tree diagram.
TipOverTreeLayoutForSubordinatesGets the command that applies the Tip-over layout to the subordinates of the diagram items.
ToggleFontBoldGets the command that toggles bold font for the text within the selected shapes.
ToggleFontItalicGets the command that toggles italic font for the text within the selected shapes.
ToggleFontStrikethroughGets the command that toggles strikethrough for the text within the selected shapes.
ToggleFontUnderlineGets the command that toggles underline for the text within the selected shapes.
ToggleSubordinatesVisibilityGets the command that shows or hides the subordinates of the selected diagram item.
TreeLayoutGets the command that realigns diagram items to form a tree diagram.
TreeLayoutForSubordinatesGets the command that applies the Tree layout to the subordinates of the diagram items.
UndoGets the command that cancels changes resulting from the last operation.
UndoRedoCommands staticProvides access to undo and redo commands. Inherited from DiagramCommandsBase.
UseToolGets the command that uses a diagram tool.
ZoomCommands staticProvides access to zoom commands. Inherited from DiagramCommandsBase.
ZoomInGets the command that increases the current zoom factor of a diagram.
ZoomOutGets the command that decreases the current zoom factor of a diagram.

Methods

NameDescription
CanExecute(DiagramCommand)Gets whether the specified command can be executed in its current state. Inherited from DiagramCommandsBase.
CanExecute<T>(DiagramCommand<T>, T)Gets whether the specified command can be executed in its current state. Inherited from DiagramCommandsBase.
Equals(Object, Object) staticDetermines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object)Determines whether the specified object is equal to the current object. Inherited from Object.
Execute(DiagramCommand, IMouseArgs)Executes the specified diagram command. Inherited from DiagramCommandsBase.
Execute<T>(DiagramCommand<T>, T, IMouseArgs)Executes the specified diagram command. Inherited from DiagramCommandsBase.
GetCommandHotkeys(DiagramCommandBase, Object)Inherited from DiagramCommandsBase.
GetHashCode()Serves as the default hash function. Inherited from Object.
GetKeyDownCommand(Key, ModifierKeys) staticGets the command associated with pressing down the specified key or key combination. Inherited from DiagramCommandsBase.
GetKeyUpCommand(Key, ModifierKeys) staticGets the command associated with releasing the specified key or key combination. Inherited from DiagramCommandsBase.
GetType()Gets the Type of the current instance. Inherited from Object.
MemberwiseClone() protectedCreates a shallow copy of the current Object. Inherited from Object.
ReferenceEquals(Object, Object) staticDetermines whether the specified Object instances are the same instance. Inherited from Object.
RegisterHandlers(Action<IHandlersRegistrator>, Boolean)Allows you to override the default commands. Inherited from DiagramCommandsBase.
RegisterHotKeys(Action<IHotKeysRegistrator>)Allows you to clear the existing shortcuts or define new ones. Inherited from DiagramCommandsBase.
ToString()Returns a string that represents the current object. Inherited from Object.
UpdateCommands(IEnumerable<DiagramCommandBase>)Gets the command that updates the state of all DiagramCommands members.

See Also

DiagramCommands Class

DevExpress.Xpf.Diagram Namespace