DiagramCommand Enum
Lists diagram commands.
Namespace: DevExtreme.AspNet.Mvc
Assembly: DevExtreme.AspNet.Core.dll
#Declaration
[JsonConverter(typeof(StringEnumConverter))]
public enum DiagramCommand
#Members
Name | Description |
---|---|
Separator
|
A command that displays a separator. |
Export
|
A command that exports the diagram to the SVG format. |
Export
|
A command that exports the diagram to the PNG format. |
Export
|
A command that exports the diagram to the JPG format. |
Undo
|
A command that undoes the last action. |
Redo
|
A command that redoes the last undone action. |
Cut
|
A command that cuts the selected content and place it in the clipboard. |
Copy
|
A command that copies the selected content to the clipboard. |
Paste
|
A command that pastes the content of the clipboard at the current cursor position. |
Select
|
A command that selects all content inside the diagram. |
Delete
|
A command that deletes the selected content. |
Font
|
A command that changes the font of the selected text. |
Font
|
A command that changes the size of the selected text. |
Bold
|
A command that applies the bold text formatting to the selected text. If it’s already applied, cancels it. |
Italic
|
A command that makes the selected text italic or regular type depending on the current state. |
Underline
|
A command that applies the underline text formatting to the selected text. If it’s already applied, cancels it. |
Font
|
A command that changes the font color of the selected text. |
Line
|
A command that specifies the line style of the selected shapes and/or connectors. |
Line
|
A command that specifies the line width of the selected shapes and/or connectors. |
Line
|
A command that specifies the line color of the selected shapes and/or connectors. |
Fill
|
A command that changes the fill color of the selected shapes. |
Text
|
A command that aligns the text to the left side of the shape. |
Text
|
A command that aligns the text to the center of the shape. |
Text
|
A command that aligns the text to the right side of the shape. |
Lock
|
A command that locks the selected content to prevent it from modifying. |
Unlock
|
A command that unlocks the selected locked content. |
Send
|
A command that sends a selected content to the back. |
Bring
|
A command that brings the selected content to the front. |
Insert
|
A command that inserts an image to the shape. |
Edit
|
A command that changes a shape image. |
Delete
|
A command that deletes a shape image. |
Connector
|
A command that specifies the type of a connector. |
Connector
|
A command that specifies the tip of a connector’s start point. |
Connector
|
A command that specifies the tip of a connector’s end point. |
Layout
|
A command that sets the layout to Tree and the layout direction to Top-to-Bottom. |
Layout
|
A command that sets the layout to Tree and the layout direction to Bottom-to-Top. |
Layout
|
A command that sets the layout to Tree and the layout direction to Left-to-Right. |
Layout
|
A command that sets the layout to Tree and the layout direction to Right-to-Left. |
Layout
|
A command that sets the layout to Layered and the layout direction to Top-to-Bottom. |
Layout
|
A command that sets the layout to Layered and the layout direction to Bottom-to-Top. |
Layout
|
A command that sets the layout to Layered and the layout direction to Left-to-Right. |
Layout
|
A command that sets the layout to Layered and the layout direction to Right-to-Left. |
Full
|
A command that specifies whether or not to display the widget in full-screen mode. |
Zoom
|
A command that specifies the zoom level. |
Show
|
A command that specifies whether grid lines are visible. |
Snap
|
A command that specifies whether diagram elements should snap to grid lines. |
Grid
|
A command that specifies the grid pitch. |
Units
|
A command that specifies the unit for measurement options. |
Page
|
A command that specifies a size of pages. |
Page
|
A command that specifies the page orientation. |
Page
|
A command that specifies the color of a diagram page. |
Simple
|
A command that toggles Simple View mode. |
Toolbox
|
A command that toggles visibility of the toolbox. |