DiagramCommandsBase Members
In This Article
#Constructors
Name | Description |
---|---|
Diagram |
Initializes a new instance of the Diagram |
#Fields
Name | Description |
---|---|
Bring |
Bring the selected diagram items forward. |
Bring |
Bring the selected diagram items to the front. |
Cancel |
Exit the input state (i. |
Change |
Change the type of the selected connector. |
Circular |
Realign diagram items according to the circular layout algorithm. |
Collapse |
Collapse the selected containers. |
Copy |
Copy the selected diagram items. |
Cut |
Remove the selected diagram items and copy them to the Clipboard. |
Decrease |
Decrease the font size for the text within the selected diagram items. |
Delete |
Remove the selected diagram items. |
Edit |
Edit the text within the selected shape. |
Empty |
An empty command. |
Export |
Export the diagram in the specified format to a file. |
Export |
Exports the diagram to a PDF document. |
Export |
|
Fit |
Change the page size to fit the diagram contents. |
Fit |
Set the diagram zoom factor value to fit all pages with content within the canvas. |
Fit |
Set the diagram zoom factor value to fit the entire diagram width. |
Flip |
Flip the selected image item. |
Focus |
Focuses the next control after the Diagram control in the visual tree. |
Focus |
Focuses the previous control after the Diagram control in the visual tree. |
Increase |
Increase the font size for the text within the selected diagram items. |
Insert |
Invoke the “Insert Picture” dialog window. |
Load |
Invoke the Insert Picture dialog to change the selected image item. |
Mind |
Realign diagram items to form a mind map tree diagram. |
Mind |
Realign the subordinate items of the selected diagram item to form a mind map tree. |
Move |
Move the selected diagram items the specified distance from its current position in the specified direction. |
Move |
Move the selected diagram items the specified distance from its current position in the specified direction without snapping them to the grid. |
New |
Close the current file and create a new one. If the current file contains unsaved changes, the end-user is prompted to save them. |
Open |
Create a new diagram file and open it. |
Paste |
Inserts the diagram items from the Clipboard onto the canvas. |
Print |
Invoke the Print dialog window. |
Quick |
Print the diagram with default print settings. |
Redo |
Reapply the last action that was undone in the diagram control. |
Reset |
Reset the selected images to their original state. |
Rotate |
Rotate the selected item counterclockwise around its anchor point by the specified angle. |
Save |
Invoke the Save File As dialog window. |
Save |
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. |
Select |
Select all items within the diagram. |
Select |
Select the tool used to create connectors. |
Select |
Select the tool used to create ellipse shapes. |
Select |
Select the tool used to create hexagonal shapes. |
Select |
Select the next diagram item in the order they were added to the diagram. |
Select |
Select the tool used to navigate the diagram. |
Select |
Select the tool used to select diagram items. |
Select |
Select the previous diagram item in the order they were added to the diagram. |
Select |
Select the tool used to create rectangular shapes. |
Select |
Select the tool used to create triangular shapes. |
Select |
Select the tool used to create text shapes. |
Select |
Select the specified diagram tool. |
Send |
Send the selected diagram items backward. |
Send |
Send the selected diagram items to the back. |
Set |
Set the horizontal alignment of the text within the selected shapes. |
Set |
Invoke the Page Setup dialog window. |
Set |
Set the specified header padding value for the selected container items. |
Set |
Set the specified padding value for the selected container items. |
Set |
Set the specified shape style for the selected container items. |
Set |
Set the specified scale factor for the selected image items. |
Set |
Set the specified stretch mode for the selected image items. |
Set |
Set the specified style (id) for the selected diagram items. |
Set |
|
Set |
Set the vertical alignment of the text within the selected shapes. |
Set |
Apply a zoom factor value to a document. |
Show |
Toggle the visibility of headers of the selected containers. |
Show |
Invoke the popup menu for the selected item. |
Show |
Invoke the Print Preview. |
Show |
Invoke the ‘Properties’ panel. |
Start |
Start a drag-and-drop operation for the tool passed to the command as the parameter. |
Start |
Select the tool used to drag diagram items. |
Sugiyama |
Realign diagram items according to the layered graph drawing (Sugiyama-style graph drawing) algorithm. |
Tip |
Realign diagram items according to the tip-over tree layout algorithm. |
Tip |
Realign the subordinate items of the selected diagram item according to the tip-over tree layout algorithm. |
Toggle |
Toggle bold font for the text within the selected shapes. |
Toggle |
Toggle italic font for the text within the selected shapes. |
Toggle |
Toggle strikethrough for the text within the selected shapes. |
Toggle |
Toggle underline for the text within the selected shapes. |
Toggle |
Toggle the visibility of the child items of the selected diagram item. |
Tree |
Realign diagram items to form a tree diagram. |
Tree |
Realign the subordinate items of the selected diagram item according to the tree layout algorithm. |
Undo |
Cancel changes resulting from the last operation. |
Use |
Use a diagram tool. |
Zoom |
Increase the current zoom factor of a diagram. |
Zoom |
Decrease the current zoom factor of a diagram. |
#Properties
Name | Description |
---|---|
Default |
|
Selection |
Provides access to selection commands. |
Undo |
Provides access to undo and redo commands. |
Zoom |
Provides access to zoom commands. |
#Methods
Name | Description |
---|---|
Can |
Gets whether the specified command can be executed in its current state. |
Can |
Gets whether the specified command can be executed in its current state. |
Equals |
Determines whether the specified object instances are considered equal. Inherited from Object. |
Equals |
Determines whether the specified object is equal to the current object. Inherited from Object. |
Execute |
Executes the specified diagram command. |
Execute |
Executes the specified diagram command. |
Get |
|
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Gets the command associated with pressing down the specified key or key combination. |
Get |
Gets the command associated with releasing the specified key or key combination. |
Get |
Gets the Type of the current instance. Inherited from Object. |
Memberwise |
Creates a shallow copy of the current Object. Inherited from Object. |
Reference |
Determines whether the specified Object instances are the same instance. Inherited from Object. |
Register |
Allows you to override the default commands. |
Register |
Allows you to clear the existing shortcuts or define new ones. |
To |
Returns a string that represents the current object. Inherited from Object. |
Update |
See Also