DiagramCommands Members
Provides access to diagram commands.Constructors
Name | Description |
---|---|
DiagramCommands(DiagramControl) | Initializes a new instance of the DiagramCommands class. |
Fields
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. |
Properties
Name | Description |
---|---|
BringForward | Gets the command that brings the selected diagram items forward. |
BringToFront | Gets the command that brings the selected diagram items to the front. |
Cancel | Gets the command that cancels the current selection. |
ChangeConnectorType | Gets the command that changes the connector type. |
CircularLayout | Gets the command that realigns diagram items to form a circular layout. |
CollapseSelectedContainers | |
Copy | Gets the command that copies the selected diagram items to the Clipboard. |
Cut | Gets the command that removes the selected diagram items and copies them to the Clipboard. |
DecreaseFontSize | Gets the command that decreases the font size for the text within the selected diagram items. |
DefaultCommands static | Inherited from DiagramCommandsBase. |
Delete | Gets the command that removes the selected diagram items. |
DisplayItemProperties | Obsolete. Gets the command that invokes the Properties Panel. |
Edit | Gets the command that initiates text editing for the selected shape. |
Empty | This member supports the internal infrastructure and is not intended to be used directly from your code. |
ExportDiagram | Gets the command that exports the diagram to an image file of the specified format. |
ExportToPdf | |
ExportToSvg | |
FitToDrawing | Gets the command that changes the page size to fit the diagram contents. |
FitToPage | Gets the command that sets the diagram zoom factor value to fit all pages with content within the canvas. |
FitToWidth | Gets the command that sets the diagram zoom factor value to fit the entire diagram width. |
FlipImage | Gets the command that flips the selected image. |
FocusNextControl | Gets the command that moves focus to the next control. |
FocusPrevControl | Gets the command that moves focus to the previous control. |
IncreaseFontSize | Gets the command that increases the font size for the text within the selected diagram items. |
InsertImage | Gets the command that invokes the Insert Image dialog that allows the end-user to add an image item to the diagram. |
LoadImage | Gets the command that invokes the Insert Image dialog that allows the end-user to change the selected image item. |
MindMapTreeLayout | Gets the command that realigns diagram items to form a mind-map tree diagram. |
MindMapTreeLayoutForSubordinates | Gets the command that applies the mind-map tree layout to the subordinates of the diagram items. |
MoveSelection | Gets the command that moves currently selected items in the specified direction. |
MoveSelectionNoSnap | Gets the command that moves currently selected items in the specified direction without snapping to grid lines or other items. |
NewFile | Gets 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. |
OpenFile | Gets the command that invokes the Open File dialog window. |
Paste | Gets the command that inserts the diagram items from the clipboard onto the Canvas. |
Gets the command that invokes the Print dialog window. | |
QuickPrint | Gets the command that prints the diagram with default print settings. |
Redo | Gets the command that reapplies the last action that was undone in the diagram control. |
ResetSelectedImages | Gets the command that resets the appearance of the selected image items. |
Rotate | Gets the command that rotates the selected items by the specified angle. |
SaveFile | Gets 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. |
SaveFileAs | Gets the command that invokes the Save File As dialog window. |
SelectAll | Gets the command that selects all items within the diagram. |
SelectConnectorTool | Gets the command that selects the connector tool. |
SelectEllipseTool | Gets the command that selects the ellipse tool. |
SelectHexagonTool | Gets the command that selects the hexagon tool. |
SelectionCommands static | Provides access to selection commands. Inherited from DiagramCommandsBase. |
SelectNextItem | Gets the command that selects the next diagram item in the order they were added to the diagram. |
SelectPanTool | Gets the command that selects the pan tool. |
SelectPointerTool | Gets the command that selects the pointer tool. |
SelectPrevItem | Gets the command that selects the previous diagram item in the order they were added to the diagram. |
SelectRectangleTool | Gets the command that selects the rectangle tool. |
SelectRightTriangleTool | Gets the command that selects the right triangle tool. |
SelectTextTool | |
SelectTool | Gets the command that selects a diagram tool. |
SendBackward | Gets the command that sends the selected diagram items backward. |
SendToBack | Gets the command that sends the selected diagram items to the back. |
SetHorizontalAlignment | Gets the command that applies the specified horizontal alignment to the text within the selected diagram items. |
SetPageParameters | Gets the command that invokes the Page Setup Dialog Window. |
SetSelectedContainersHeaderPadding | Gets the command that changes the amount of header padding for the selected containers. |
SetSelectedContainersPadding | Gets the command that changes the amount of padding for the selected container. |
SetSelectedContainersShape | Gets the command that changes the shape of the selected container. |
SetSelectedImagesScale | Gets the command that sets the specified zoom factor for selected image items. |
SetSelectedImagesStretchMode | Gets the command that sets the specified stretch mode for selected image items. |
SetSelectedItemsStyle | Gets the command that sets the style of the selected diagram item. |
SetSelectedListsOrientation | |
SetVerticalAlignment | Gets the command that applies the specified vertical alignment to the text within the selected diagram items. |
SetZoom | Gets the command that applies a zoom factor value to a document. |
ShowContainerHeader | Gets the command that toggles the visibility of the header for the currently selected container items. |
ShowPopupMenu | Gets the command that invokes the popup menu for the selected item. |
ShowPrintPreview | Gets the command that invokes the Print Preview. |
ShowPropertiesPanel | Gets the command that invokes the Properties Panel. |
StartDragTool | This member supports the internal infrastructure and is not intended to be used directly from your code. |
StartDragToolAlternate | This member supports the internal infrastructure and is not intended to be used directly from your code. |
SugiyamaLayout | Gets the command that realigns diagram items according to the layered graph drawing (Sugiyama-style graph drawing) algorithm. |
TipOverTreeLayout | Gets the command that realigns diagram items to form a tip-over tree diagram. |
TipOverTreeLayoutForSubordinates | Gets the command that applies the Tip-over layout to the subordinates of the diagram items. |
ToggleFontBold | Gets the command that toggles bold font for the text within the selected shapes. |
ToggleFontItalic | Gets the command that toggles italic font for the text within the selected shapes. |
ToggleFontStrikethrough | Gets the command that toggles strikethrough for the text within the selected shapes. |
ToggleFontUnderline | Gets the command that toggles underline for the text within the selected shapes. |
ToggleSubordinatesVisibility | Gets the command that shows or hides the subordinates of the selected diagram item. |
TreeLayout | Gets the command that realigns diagram items to form a tree diagram. |
TreeLayoutForSubordinates | Gets the command that applies the Tree layout to the subordinates of the diagram items. |
Undo | Gets the command that cancels changes resulting from the last operation. |
UndoRedoCommands static | Provides access to undo and redo commands. Inherited from DiagramCommandsBase. |
UseTool | Gets the command that uses a diagram tool. |
ZoomCommands static | Provides access to zoom commands. Inherited from DiagramCommandsBase. |
ZoomIn | Gets the command that increases the current zoom factor of a diagram. |
ZoomOut | Gets the command that decreases the current zoom factor of a diagram. |
Methods
Name | Description |
---|---|
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) static | Determines 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) static | Gets the command associated with pressing down the specified key or key combination. Inherited from DiagramCommandsBase. |
GetKeyUpCommand(Key, ModifierKeys) static | Gets 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() protected | Creates a shallow copy of the current Object. Inherited from Object. |
ReferenceEquals(Object, Object) static | Determines 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