Represents a control that displays the content of a Diagram object.
The following tables list the members exposed by the DiagramView type.
Name | Description | |
---|---|---|
Initializes a new instance of the DiagramView class. |
Name | Description | |
---|---|---|
Gets or sets whether users are allowed to edit the text of diagram items. |
||
Gets or sets a value indicating whether automatic scrolling is enabled. |
||
Gets or sets the amount by which to auto-scroll the view when the mouse leaves the view boundaries while drawing. |
||
Gets or sets a value indicating how the control responds to user actions. |
||
Gets or sets HTML string representing the DOM content rendered by default by newly created ControlNode objects. |
||
Gets or sets what action to perform when users hit the Del key. |
||
Gets or sets the diagram displayed by this view. |
||
Gets or sets the opacity of ghost image displayed during drag-and-drop from NodeListView. |
||
Gets or sets a value indicating whether the control handles DOM Pointer events to implement multi-touch interactions, such as zooming, node rotation or simultaneous drawing of multiple diagram items. |
||
Gets or sets maximum distance between touch position and adjustment handle at which the handle can still be grabbed to modify its item. |
||
Gets or sets the horizontal placement of nodes created by drag-and-drop operations, relatively to mouse cursor. |
||
Gets or sets the time in milliseconds that mouse pointer should remain stationary before reporting hover events. |
||
Gets or sets a value indicating whether pressing the ENTER keyshould exit inplace-edit mode and accept changes made to text. |
||
Gets or sets a value indicating whether pressing the ESC keyshould exit inplace-edit mode and reject changes made to text. |
||
Gets or sets a combination of flags that specify what actions can be performed via the left mouse button. |
||
Gets or sets URL of the control's license file. |
||
Gets or sets a value indicating whether the magnifier tool is currently enabled. |
||
Gets or sets the zoom factor of the magnifier tool. |
||
Gets or sets the color of the magnifier tool's frame. |
||
Gets or sets the thickness of the magnifier frame. |
||
Gets or sets the height of the magnifier tool. |
||
Gets or sets the color of the magnifier tool's secondary frame. |
||
Gets or sets whether to enhance the effect of a magnifier lense by using a gradient shading. |
||
Gets or sets a reference to the geometric shape definition of the magnifier tool. |
||
Gets or sets the width of the magnifier tool. |
||
Gets or sets a combination of flags that specify what actions can be performed via the middle mouse button. |
||
Gets or sets how users can start modifying diagram items. |
||
Gets an object that allows changing the function of keyboard modifier keys such as Ctrl and Alt. |
||
Gets or sets what action to perform when users rotate the mouse wheel. |
||
Gets or sets a value indicating whether the control allows drawing multiple items simultaneously. |
||
Gets or sets a value indicating whether multi-touch modifications are enabled. |
||
Gets or sets a value indicating whether multi-touch zoom is enabled. |
||
Gets or sets a combination of flags that specify what actions can be performed via the right mouse button. |
||
Gets or sets the diagram's horizontal scroll position. |
||
Gets or sets the diagram's vertical scroll position. |
||
Gets or sets the size of the auto scroll zone near the edges of the control. |
||
Gets or sets the delay before a tooltip is shown. |
||
Gets or sets the vertical placement of nodes created by drag-and-drop operations, relatively to mouse cursor. |
||
Returns the visible portion of the diagram area. |
||
Gets or sets a value indicating whether virtual scroll mode is enabled. |
||
Gets or sets the zoom factor. |
Name | Description | |
---|---|---|
Animates the view state. |
||
Begins in-place editing of the specified object. |
||
Cancels all current drag operations. |
||
Forces the removal of any created tooltips from the diagram canvas. |
||
Copies the current selection of items to the clipboard. |
||
Creates and initializes a new DiagramView from the specified element. This method is static and can be called without creating an instance of the class. |
||
Cuts the currently selected items to the clipboard. |
||
Control.dispose override. |
||
Exits the in-place editing mode and either accepts or rejects the changes made to the item's text. |
||
Returns the specified DiagramView object. This member is static and can be invoked without creating an instance of the class. |
||
Loads the diagram from a JSON string. |
||
Control.initialize override. |
||
Loads the diagram from an XML file. |
||
Pastes diagram items from the clipboard. |
||
Exports the diagram as a list of images to a new HTML document and opens the browser's print dialog. |
||
Exports the diagram as a list of images to a new HTML document. |
||
Starts recording mouse and keyboard events for subsequent replay. |
||
Replays a sequence of recorded mouse and keyboard events created by record and stopRecording methods. |
||
Saves the diagram to an XML file. |
||
Scrolls the diagram to the specified point. |
||
IZoomTarget implementation |
||
Sets the zoom factor, preserving the on-screen position of the specified diagram point. |
||
Stops recording mouse and keyboard events. |
||
Saves the diagram to a JSON string. |
||
Zooms the view to fit the Diagram contents in component's area. |
||
Zooms and scrolls the view to fit the specified Diagram region in component's area. |
Name | Description | |
---|---|---|
Raised to let you create a custom inplace editor control. |
||
Raised when the diagram property changes. |
||
Raised when entering inplace-edit mode. |
||
Raised when leaving inplace-edit mode. |
||
Raised when the user rotates the mouse wheel while the cursor is positioned over the diagram surface. |
||
Raised when the zoom factor property changes. |