DiagramCommands 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.
Inherited from Diagram |
Bring |
Bring the selected diagram items to the front.
Inherited from Diagram |
Cancel |
Exit the input state (i. |
Change |
Change the type of the selected connector.
Inherited from Diagram |
Circular |
Realign diagram items according to the circular layout algorithm.
Inherited from Diagram |
Collapse |
Collapse the selected containers.
Inherited from Diagram |
Copy |
Copy the selected diagram items.
Inherited from Diagram |
Cut |
Remove the selected diagram items and copy them to the Clipboard.
Inherited from Diagram |
Decrease |
Decrease the font size for the text within the selected diagram items.
Inherited from Diagram |
Delete |
Remove the selected diagram items.
Inherited from Diagram |
Edit |
Edit the text within the selected shape.
Inherited from Diagram |
Empty |
An empty command.
Inherited from Diagram |
Export |
Export the diagram in the specified format to a file.
Inherited from Diagram |
Export |
Exports the diagram to a PDF document.
Inherited from Diagram |
Export |
Inherited from Diagram |
Fit |
Change the page size to fit the diagram contents.
Inherited from Diagram |
Fit |
Set the diagram zoom factor value to fit all pages with content within the canvas.
Inherited from Diagram |
Fit |
Set the diagram zoom factor value to fit the entire diagram width.
Inherited from Diagram |
Flip |
Flip the selected image item.
Inherited from Diagram |
Focus |
Focuses the next control after the Diagram control in the visual tree.
Inherited from Diagram |
Focus |
Focuses the previous control after the Diagram control in the visual tree.
Inherited from Diagram |
Increase |
Increase the font size for the text within the selected diagram items.
Inherited from Diagram |
Insert |
Invoke the “Insert Picture” dialog window.
Inherited from Diagram |
Load |
Invoke the Insert Picture dialog to change the selected image item.
Inherited from Diagram |
Mind |
Realign diagram items to form a mind map tree diagram.
Inherited from Diagram |
Mind |
Realign the subordinate items of the selected diagram item to form a mind map tree.
Inherited from Diagram |
Move |
Move the selected diagram items the specified distance from its current position in the specified direction.
Inherited from Diagram |
Move |
Move the selected diagram items the specified distance from its current position in the specified direction without snapping them to the grid.
Inherited from Diagram |
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.
Inherited from Diagram |
Open |
Create a new diagram file and open it.
Inherited from Diagram |
Paste |
Inserts the diagram items from the Clipboard onto the canvas.
Inherited from Diagram |
Print |
Invoke the Print dialog window.
Inherited from Diagram |
Quick |
Print the diagram with default print settings.
Inherited from Diagram |
Redo |
Reapply the last action that was undone in the diagram control.
Inherited from Diagram |
Reset |
Reset the selected images to their original state.
Inherited from Diagram |
Rotate |
Rotate the selected item counterclockwise around its anchor point by the specified angle.
Inherited from Diagram |
Save |
Invoke the Save File As dialog window.
Inherited from Diagram |
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.
Inherited from Diagram |
Select |
Select all items within the diagram.
Inherited from Diagram |
Select |
Select the tool used to create connectors.
Inherited from Diagram |
Select |
Select the tool used to create ellipse shapes.
Inherited from Diagram |
Select |
Select the tool used to create hexagonal shapes.
Inherited from Diagram |
Select |
Select the next diagram item in the order they were added to the diagram.
Inherited from Diagram |
Select |
Select the tool used to navigate the diagram.
Inherited from Diagram |
Select |
Select the tool used to select diagram items.
Inherited from Diagram |
Select |
Select the previous diagram item in the order they were added to the diagram.
Inherited from Diagram |
Select |
Select the tool used to create rectangular shapes.
Inherited from Diagram |
Select |
Select the tool used to create triangular shapes.
Inherited from Diagram |
Select |
Select the tool used to create text shapes.
Inherited from Diagram |
Select |
Select the specified diagram tool.
Inherited from Diagram |
Send |
Send the selected diagram items backward.
Inherited from Diagram |
Send |
Send the selected diagram items to the back.
Inherited from Diagram |
Set |
Set the horizontal alignment of the text within the selected shapes.
Inherited from Diagram |
Set |
Invoke the Page Setup dialog window.
Inherited from Diagram |
Set |
Set the specified header padding value for the selected container items.
Inherited from Diagram |
Set |
Set the specified padding value for the selected container items.
Inherited from Diagram |
Set |
Set the specified shape style for the selected container items.
Inherited from Diagram |
Set |
Set the specified scale factor for the selected image items.
Inherited from Diagram |
Set |
Set the specified stretch mode for the selected image items.
Inherited from Diagram |
Set |
Set the specified style (id) for the selected diagram items.
Inherited from Diagram |
Set |
Inherited from Diagram |
Set |
Set the vertical alignment of the text within the selected shapes.
Inherited from Diagram |
Set |
Apply a zoom factor value to a document.
Inherited from Diagram |
Show |
Toggle the visibility of headers of the selected containers.
Inherited from Diagram |
Show |
Invoke the popup menu for the selected item.
Inherited from Diagram |
Show |
Invoke the Print Preview.
Inherited from Diagram |
Show |
Invoke the ‘Properties’ panel.
Inherited from Diagram |
Start |
Start a drag-and-drop operation for the tool passed to the command as the parameter.
Inherited from Diagram |
Start |
Select the tool used to drag diagram items.
Inherited from Diagram |
Sugiyama |
Realign diagram items according to the layered graph drawing (Sugiyama-style graph drawing) algorithm.
Inherited from Diagram |
Tip |
Realign diagram items according to the tip-over tree layout algorithm.
Inherited from Diagram |
Tip |
Realign the subordinate items of the selected diagram item according to the tip-over tree layout algorithm.
Inherited from Diagram |
Toggle |
Toggle bold font for the text within the selected shapes.
Inherited from Diagram |
Toggle |
Toggle italic font for the text within the selected shapes.
Inherited from Diagram |
Toggle |
Toggle strikethrough for the text within the selected shapes.
Inherited from Diagram |
Toggle |
Toggle underline for the text within the selected shapes.
Inherited from Diagram |
Toggle |
Toggle the visibility of the child items of the selected diagram item.
Inherited from Diagram |
Tree |
Realign diagram items to form a tree diagram.
Inherited from Diagram |
Tree |
Realign the subordinate items of the selected diagram item according to the tree layout algorithm.
Inherited from Diagram |
Undo |
Cancel changes resulting from the last operation.
Inherited from Diagram |
Use |
Use a diagram tool.
Inherited from Diagram |
Zoom |
Increase the current zoom factor of a diagram.
Inherited from Diagram |
Zoom |
Decrease the current zoom factor of a diagram.
Inherited from Diagram |
#Properties
Name | Description |
---|---|
Bring |
Gets the command that brings the selected diagram items forward. |
Bring |
Gets the command that brings the selected diagram items to the front. |
Cancel | Gets the command that cancels the current selection. |
Change |
Gets the command that changes the connector type. |
Circular |
Gets the command that realigns diagram items to form a circular layout. |
Collapse |
|
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. |
Decrease |
Gets the command that decreases the font size for the text within the selected diagram items. |
Default |
Inherited from Diagram |
Delete | Gets the command that removes the selected diagram items. |
Display |
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. |
Export |
Gets the command that exports the diagram to an image file of the specified format. |
Export |
|
Export |
|
Fit |
Gets the command that changes the page size to fit the diagram contents. |
Fit |
Gets the command that sets the diagram zoom factor value to fit all pages with content within the canvas. |
Fit |
Gets the command that sets the diagram zoom factor value to fit the entire diagram width. |
Flip |
Gets the command that flips the selected image. |
Focus |
Gets the command that moves focus to the next control. |
Focus |
Gets the command that moves focus to the previous control. |
Increase |
Gets the command that increases the font size for the text within the selected diagram items. |
Insert |
Gets the command that invokes the Insert Image dialog that allows the end-user to add an image item to the diagram. |
Load |
Gets the command that invokes the Insert Image dialog that allows the end-user to change the selected image item. |
Mind |
Gets the command that realigns diagram items to form a mind-map tree diagram. |
Mind |
Gets the command that applies the mind-map tree layout to the subordinates of the diagram items. |
Move |
Gets the command that moves currently selected items in the specified direction. |
Move |
Gets the command that moves currently selected items in the specified direction without snapping to grid lines or other items. |
New |
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. |
Open |
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. | |
Quick |
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. |
Reset |
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. |
Save |
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. |
Save |
Gets the command that invokes the Save File As dialog window. |
Select |
Gets the command that selects all items within the diagram. |
Select |
Gets the command that selects the connector tool. |
Select |
Gets the command that selects the ellipse tool. |
Select |
Gets the command that selects the hexagon tool. |
Selection |
Provides access to selection commands.
Inherited from Diagram |
Select |
Gets the command that selects the next diagram item in the order they were added to the diagram. |
Select |
Gets the command that selects the pan tool. |
Select |
Gets the command that selects the pointer tool. |
Select |
Gets the command that selects the previous diagram item in the order they were added to the diagram. |
Select |
Gets the command that selects the rectangle tool. |
Select |
Gets the command that selects the right triangle tool. |
Select |
|
Select |
Gets the command that selects a diagram tool. |
Send |
Gets the command that sends the selected diagram items backward. |
Send |
Gets the command that sends the selected diagram items to the back. |
Set |
Gets the command that applies the specified horizontal alignment to the text within the selected diagram items. |
Set |
Gets the command that invokes the Page Setup Dialog Window. |
Set |
Gets the command that changes the amount of header padding for the selected containers. |
Set |
Gets the command that changes the amount of padding for the selected container. |
Set |
Gets the command that changes the shape of the selected container. |
Set |
Gets the command that sets the specified zoom factor for selected image items. |
Set |
Gets the command that sets the specified stretch mode for selected image items. |
Set |
Gets the command that sets the style of the selected diagram item. |
Set |
|
Set |
Gets the command that applies the specified vertical alignment to the text within the selected diagram items. |
Set |
Gets the command that applies a zoom factor value to a document. |
Show |
Gets the command that toggles the visibility of the header for the currently selected container items. |
Show |
Gets the command that invokes the popup menu for the selected item. |
Show |
Gets the command that invokes the Print Preview. |
Show |
Gets the command that invokes the Properties Panel. |
Start |
This member supports the internal infrastructure and is not intended to be used directly from your code. |
Start |
This member supports the internal infrastructure and is not intended to be used directly from your code. |
Sugiyama |
Gets the command that realigns diagram items according to the layered graph drawing (Sugiyama-style graph drawing) algorithm. |
Tip |
Gets the command that realigns diagram items to form a tip-over tree diagram. |
Tip |
Gets the command that applies the Tip-over layout to the subordinates of the diagram items. |
Toggle |
Gets the command that toggles bold font for the text within the selected shapes. |
Toggle |
Gets the command that toggles italic font for the text within the selected shapes. |
Toggle |
Gets the command that toggles strikethrough for the text within the selected shapes. |
Toggle |
Gets the command that toggles underline for the text within the selected shapes. |
Toggle |
Gets the command that shows or hides the subordinates of the selected diagram item. |
Tree |
Gets the command that realigns diagram items to form a tree diagram. |
Tree |
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. |
Undo |
Provides access to undo and redo commands.
Inherited from Diagram |
Use |
Gets the command that uses a diagram tool. |
Zoom |
Provides access to zoom commands.
Inherited from Diagram |
Zoom |
Gets the command that increases the current zoom factor of a diagram. |
Zoom |
Gets the command that decreases the current zoom factor of a diagram. |
#Methods
Name | Description |
---|---|
Can |
Gets whether the specified command can be executed in its current state.
Inherited from Diagram |
Can |
Gets whether the specified command can be executed in its current state.
Inherited from Diagram |
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.
Inherited from Diagram |
Execute |
Executes the specified diagram command.
Inherited from Diagram |
Get |
Inherited from Diagram |
Get |
Serves as the default hash function. Inherited from Object. |
Get |
Gets the command associated with pressing down the specified key or key combination.
Inherited from Diagram |
Get |
Gets the command associated with releasing the specified key or key combination.
Inherited from Diagram |
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.
Inherited from Diagram |
Register |
Allows you to clear the existing shortcuts or define new ones.
Inherited from Diagram |
To |
Returns a string that represents the current object. Inherited from Object. |
Update |
Gets the command that updates the state of all Diagram |
See Also