Search
Diagram Members
Constructors Fields Properties Methods Events
 


Represents a flow diagram.

The following tables list the members exposed by the Diagram type.

 Public Constructors

  Name Description

Diagram

Initializes a new instance of the Diagram class.

 Public Fields

  Name Description

Dummy

A shared DummyNode instance.

 Public Properties

  Name Description

ActiveItem

Gets or sets the active diagram element.

ActiveItemHandlesStyle

Gets the visual style of adjustment handles of the active item.

ActiveLayer

Gets or sets the zero-based index of the active layer.

AdjustmentHandlesSize

Gets or sets the size of the handles, which appear around selected objects, expressed in millimeters.

AlignmentGuidePen

Gets or sets the pen used to draw alignment guides.

AlignToGrid

Gets or sets a value indicating whether the items in the diagram are aligned to grid.

AllowLinksRepeat

Gets or sets a value indicating whether more than one arrow can link the same origin and destination diagram nodes.

AllowMultipleResize

Gets or sets whether multiple selected nodes can be resized simultaneously.

AllowSelfLoops

Gets or sets value indicating whether reflexive links are allowed.

AllowSplitLinks

Gets or sets a value indicating whether arrow segments can be added and removed interactively.

AllowUnanchoredLinks

Gets or sets a value indicating whether links can be connected to nodes to which there aren't anchor points assigned.

AllowUnconnectedLinks

Gets or sets a value indicating whether users are allowed to draw links that are not connected to any node.

AutoAlignDistance

Gets or sets the maximal horizontal or vertical distance at which a node aligns to the borders of other nodes.

AutoAlignNodes

Gets or sets whether nodes should automatically align to the borders of other nodes during user interaction.

AutoCloseDistance

Gets or sets the maximum distance between first and last points of a FreeFormNode for which the node's outline is closed automatically.

AutoDeleteLinks

Gets or sets whether links are deleted automatically when their Origin or Destination is deleted.

AutoHighlightRows

Gets or sets whether a table row should be highlighted when the user clicks on it.

AutoResize

Gets or sets a value indicating whether the document area should be resized automatically so it fits the diagram contents.

AutoSnapDistance

Specifies the maximum distance at which links auto-snap to nodes.

AutoSnapLinks

Gets or sets the default value for the AutoSnapToNode property of new links.

BackBrush

Gets or sets the brush used for painting the diagram background.

BackgroundImage

Gets or sets the diagram background image.

BackgroundImageAlign

Gets or set a value indicating how the background image is positioned, relatively either to the control's window or to the scrollable document area.

Bounds

Gets or sets a value representing the size of the diagram's scrollable area.

BoundsPen

The pen with which the document bounds should be drawn.

CellCustomDraw

Gets or sets the default type of custom painting done on the cells of tables.

CellFrameStyle

Gets or sets the default cell border style of new tables.

ContainerCaption

Specifies the default container caption text.

ContainerCaptionHeight

Specifies the default container caption height.

ContainerHighlightPen

Gets or sets the default value for the HighlightPen property of containers.

ContainerMargin

Gets or sets the default value for the Margin property of containers.

ContainerMinimumSize

Gets or sets the default value for the MinimumSize property of containers.

ContainerNodeStyle

Gets the theme-level style for container nodes.

ContainersFoldable

Gets or sets the default value for the Foldable property of containers.

CrossingRadius

Gets or sets the radius length of decorations displayed at arrow intersection points.

DefaultShape

Gets or sets the default shape of shape nodes.

DiagramLinkStyle

Gets the theme-level style for diagram links.

DiagramStyle

Gets the theme-level style for the diagram.

Dirty

Gets or sets a value indicating whether the diagram has changed since the last save.

DisabledHandlesStyle

Gets the visual style of disabled adjustment handles.

DynamicLinks

Gets or sets the default value for the Dynamic property of new links.

EffectiveBackBrush

Gets the currently effective background brush of the diagram.

EnableLanes

Gets or sets whether lanes are enabled.

ExpandButtonAction

Specifies what should happen when a user clicks the +/- button that is displayed near expandable nodes.

ExpandButtonPosition

Gets or sets where expand/collapse buttons are located relatively to their nodes.

ExpandOnIncoming

Gets or sets a value, indicating in which direction object hierarchies are expanded.

ExteriorBrush

Gets or sets the brush used for painting the area outside document bounds.

Factory

Gets a Factory instance that lets you add programmatically new items to the diagram.

FoldedContainerSize

Gets or sets the size of folded containers.

Font

Gets or sets the default font.

FreeFormAttractDistance

Gets or sets the radius around dragged free-form adjustment handle in which other points of FreeFormNode are modified too.

FreeFormTargets

An array of Shape objects used to replace FreeFormNode instances with ShapeNode ones when Behavior is set to LinkFreeShapes or DrawFreeShapes.

GridColor

Gets or sets the color of the grid points.

GridOffsetX

Gets or sets the horizontal offset of the first column of grid points.

GridOffsetY

Gets or sets the vertical offset of the first row of grid points.

GridSizeX

Gets or sets the horizontal distance between adjacent grid points.

GridSizeY

Gets or sets the vertical distance between adjacent grid points.

GridStyle

Gets or sets the visual style of the alignment grid.

HitTestPriority

Gets or sets a value indicating the order in which items are hit-tested.

Items

Gets a read-only collection of all objects in this diagram.

JsonOptions

A JsonOptions object providing properties for customizing the JSON serialization process.

LaneGrid

Gets the lane grid.

Layers

Gets a list of the layers in the current diagram.

LinkBaseShape

Gets or sets the shape displayed at the base of new links.

LinkBaseShapeSize

Gets or sets the default size of the base of new links.

LinkBrush

Gets or sets the default value for the Brush property of links.

LinkCascadeOrientation

Gets or sets the initial orientation of the first segment of new cascading links.

LinkCrossings

Gets or sets how to render the intersection points where links cross their paths.

LinkCustomDraw

Gets or sets the default type of custom painting done on links.

LinkEndsMovable

Gets or sets a value indicating whether link ends can be moved by users after the link is created.

LinkHandlesStyle

Gets or sets the default value for the HandlesStyle property of new links.

LinkHeadShape

Gets or sets the shape displayed as head of new links.

LinkHeadShapeSize

Gets or sets the default size of arrowheads.

LinkHitDistance

Gets or sets a value specifying how far from a link a click is still considered a hit, expressed in millimeters.

LinkIntermediateShape

Gets or sets default shape to be displayed in the middle of each segment of links.

LinkIntermediateShapeSize

Gets or sets the default size of the shapes at middles of arrow segments.

LinkPen

Gets or sets the default value for the Pen and HeadPen properties of links.

LinkRouter

Gets or sets the component used to find paths for auto-routed links when diagram nodes are added or their positions change.

Links

Gets a collection of all links in this diagram.

LinkSegments

Gets or sets the default number of arrow segments.

LinkShape

Gets or sets the default style of arrow objects.

LinksRetainForm

Gets or sets whether links should maintain their forms if the nodes linked with those links are moved around.

LinkText

Gets or sets the default text of links.

LinkTextStyle

Gets or sets default placement and orientation for links' text.

MeasureUnit

Gets or sets the unit of measure used for logical coordinates in this diagram.

MergeThreshold

Gets or sets the maximum distance between adjacent control points of an arrow at which the respective segments can be merged.

MinimumNodeSize

Gets or sets the minimum node size that the user is allowed to set.

NodeEffects

Gets a collection with all effects applied to the nodes of this diagram.

Nodes

Gets a collection of all nodes in this diagram.

NodesExpandable

Gets or sets a value indicating whether newly created nodes can be expanded.

NowLoading

Gets a value indicating whether the diagram data is now being loaded from a file.

RecursiveExpand

Gets or sets value indicating how a tree is expanded.

RestrictItemsToBounds

Gets or sets a value indicating whether users are allowed to place items outside the scrollable area of the diagram.

RoundedLinks

Specifies whether the joins between segments of Polyline and Cascading links should be rounded.

RoundedLinksRadius

Gets or sets the radius of arc joins of rounded links' segments.

RoundRectFactor

Gets or sets the relative size of arcs displayed at the corners of rounded rectangles.

RouteLinks

Gets or sets a value specifying whether links should avoid nodes by going the shortest path from their origin to their destination without crossing any other nodes.

RoutingOptions

Gets an object, which allows customizing various parameters of the link routing algorithm.

RowHighlightBrush

Gets or sets the Brush used to fill highlighted table rows.

SelectAfterCreate

Gets or sets value indicating whether newly created objects are automatically selected.

SelectedItemHandlesStyle

Gets the visual style of adjustment handles of selected items.

Selection

Gets the Selection instance that represents the selection of items in this diagram.

SelectionOnTop

Gets or sets a value indicating whether selected items should be painted on top of other items.

ShadowBrush

Gets or sets the default brush used for painting the items' shadows.

ShadowOffsetX

Gets or sets the horizontal offset of objects' shadows.

ShadowOffsetY

Gets or sets the vertical offset of objects' shadows.

ShadowsStyle

Gets or sets the style for rendering shadows.

ShapeBrush

Gets or sets the default value for the Brush property of shape nodes.

ShapeCustomDraw

Gets or sets the default type of custom painting done for shape nodes.

ShapeHandlesStyle

Gets or sets the default value for the HandlesStyle property of new shape nodes.

ShapeNodeStyle

Gets the theme-level style for shape nodes.

ShapeOrientation

Gets or sets the default value for the ShapeOrientation property of shape nodes.

ShapePen

Gets or sets the default value for the Pen property of shape nodes.

ShapeText

Gets or sets the default text of shape nodes.

ShowAnchors

Gets or sets a value indicating whether and when node anchor points should be displayed.

ShowDisabledHandles

Gets or sets a value indicating whether manipulation handles are painted when they are disabled.

ShowGrid

Gets or sets a value indicating whether the alignment grid is visible.

ShowHandlesOnDrag

Gets or sets a value indicating whether to display selection handles of pointed objects while another object is being modified.

SnapToAnchor

Gets or sets when arrow end points should be aligned to the nearest anchor points.

Style

Gets or sets the style associated with the diagram.

TableBrush

Gets or sets the default value for the Brush property of tables.

TableCaption

Gets or sets the default text for tables' captions.

TableCaptionHeight

Gets or sets the default height of table captions.

TableColumnCount

Gets or sets the default number of table columns.

TableColumnWidth

Gets or sets the default width of tables' columns.

TableConnectionStyle

Gets or sets a value indicating whether drawing an arrow between tables should link rows of those tables, or the tables as whole entities.

TableCustomDraw

Gets or sets the default type of custom painting done on tables.

TableHandlesStyle

Gets or sets the default value for the HandlesStyle property of new tables.

TableNodeStyle

Gets the theme-level style for table nodes.

TablePen

Gets or sets the default value for the Pen property of tables.

TableRowCount

Gets or sets the default number of table rows.

TableRowHeight

Gets or sets the default height of tables' rows.

TableShape

Gets or sets the default style of new tables.

TablesScrollable

Gets or sets the default value for the Scrollable property of new tables.

Tag

Gets or sets custom data associated with this diagram.

TextColor

Gets or sets the default color of text displayed inside diagram items.

TextFormat

Gets or sets the default alignment and formatting style for text displayed inside nodes and table cells.

Theme

Gets or sets the theme associated with the diagram.

TouchRadius

Gets or sets the distance tolerance during hit-testing, expressed in millimeters, or null, to use the default tolerance.

TreeViewNodeStyle

Gets the theme-level style for tree view nodes.

UndoManager

Gets a reference to the diagram's UndoManager instance.

ValidityChecks

Gets or sets a value indicating whether validity checks are performed each time an item is added to the diagram.

 Public Methods

  Name Description

AlignPointToGrid

Returns a point of the alignment grid nearest to the specified point.

ArrangeLinkLabels

Rearranges link labels whose AutoArrange property is enabled.

ChangeUnit

Sets new MeasureUnit value and scales the coordinates of diagram items so that their absolute size remains unchanged.

ClearAll

Removes all items and groups from the diagram.

CreateImage

Overloaded. Creates a bitmap containing an image of the diagram.

CreateMeasureGraphics

Creates an IGraphics object that can be used to obtain various string size measurements.

CreateThemeFromDefaults

Creates a Theme object representing the default properties of the diagram.

Draw

Renders the diagram on the specified IGraphics object.

DrawAlignmentGuides

Draws the current alignment guides.

DrawLayer

Renders all diagram items to the specified graphics.

ExecuteCommand

Executes the specified command on this diagram.

ExportImage

Overloaded. Exports a bitmap file containing an image of the diagram.

FindLink

Finds the link that has the specified tag value.

FindLinkById

Finds the link that has the specified id value.

FindNode

Finds the node that has the specified tag value.

FindNodeById

Finds the node that has the specified id value.

GetContentBounds

Returns the smallest rectangle that bounds all diagram objects.

GetGraphics

For internal use.

GetItemAt

Returns the top-most diagram item lying at the specified location.

GetLinkAt

Overloaded. Returns the top-most link that lies at a specified position.

GetLinksAt

Returns the links that contain the specified point.

GetMeasureGraphics

For internal use.

GetNearestNode

Returns the nearest node whose bounding rectangle is intersected by the circle, defined by origin point and radius.

GetNodeAt

Overloaded. Returns the topmost node that lies at a specified position.

GetNodesAt

Returns the nodes that contain the specified point.

HitTestLabels

Returns the item label located at specified position.

HitTestManipulators

Tests whether the specified point is within the manipulator of a diagram object and triggers the manipulator.

Invalidate

Overloaded. Invalidates the diagram.

InvalidateZOrder

Forces a new sort of the Z order list before next redraw.

IsClassRegistered

Checks if a class is registered for serialization support.

IsClientClassRegistered

Checks if a class is registered for JSON serialization support.

IsItemInteractive

Checks if the specified item can be modified interactively.

IsItemLocked

Checks if the specified item is locked.

IsItemVisible

Checks if the specified item is currently visible.

LoadFromJson

Loads the diagram from a JSON-formatted string.

LoadFromJsonFile

Loads the diagram from a JSON file.

LoadFromJsonObject

Loads the diagram from a JSON object.

LoadFromString

Loads a diagram from the specified string.

LoadFromXml

Overloaded. Loads the diagram.

Navigate

Selects the nearest item in the specified direction.

PrepareImages

 

RaiseCellTextEdited

Raises the CellTextEdited event.

RaiseCellTextEditing

Raises the CellTextEditing event to validate entering inplace edit mode.

RaiseClicked

Raises the Clicked event.

RaiseCreated

Raises the appropriate *Created event according to the type of the specified item.

RaiseDeleting

Raises the appropriate *Deleting event according to the type of the specified item.

RaiseLinkTextEdited

Overloaded.  

RaiseLinkTextEditing

Overloaded.  

RaiseNodeTextEdited

Overloaded.  

RaiseNodeTextEditing

Overloaded.  

RaisePasted

Raises the appropriate Pasted event.

RaiseSelecting

Raises the appropriate Selecting event.

RaiseTreeItemTextEditing

Raises the TreeItemTextEditing event to validate entering inplace edit mode.

RaiseViewRemoved

Raises the ViewRemoved event.

RegisterClass

Overloaded.  

RegisterDefaultStyle

Registers a default style for the objects of the specified type.

RegisterItemClass

Overloaded.  

ResizeToFitItem

Resize the document extents so that the specified item is contained within.

ResizeToFitItems

Overloaded. Resizes the document scrollable area so it fits all diagram items.

RouteAllLinks

Performs routing on all links ignoring their AutoRoute flag.

SaveToJson

Saves the diagram to a JSON-formatted string.

SaveToJsonFile

Saves the diagram into a JSON file.

SaveToJsonObject

Saves the diagram to a JSON object.

SaveToString

Overloaded. Encodes the diagram contents into an ASCII string.

SaveToXml

Overloaded. Saves the diagram to an XML document.

SetShadowOffset

Sets the default offset at which objects' shadows are drawn.

 Protected Methods

  Name Description

AddItem

Invoked by the AddItemCmd and RemoveItemCmd classes to effectively add the specified item to the diagram.

CreateAddItemCmd

Creates an AddItemCmd instance that implements undo/redo of adding an item to the diagram.

CreateItem

Creates an instance of the specified class.

CreateModifyItemCmd

Creates a ModifyItemCmd instance that implements undo/redo of item move and resize operations.

CreateRemoveItemCmd

Creates a RemoveItemCmd instance that implements undo/redo of removing an item from the diagram.

GetValue

Gets the effective value of the style property with the specified name.

OnActionRecorded

Raises the ActionRecorded event. (Inherited from DiagramBase.)

OnActionRecording

Raises the ActionRecording event. (Inherited from DiagramBase.)

OnActionRedone

Raises the ActionRedone event. (Inherited from DiagramBase.)

OnActionUndone

Raises the ActionUndone event. (Inherited from DiagramBase.)

OnBeginLoad

Raises the BeginLoad event. (Inherited from DiagramBase.)

OnBoundsChanged

Raises the BoundsChanged event. (Inherited from DiagramBase.)

OnCellClicked

Raises the CellClicked event. (Inherited from DiagramBase.)

OnCellTextEdited

Raises the CellTextEdited event. (Inherited from DiagramBase.)

OnCellTextEditing

Raises the CellTextEditing event to validate entering inplace edit mode. (Inherited from DiagramBase.)

OnClicked

Raises the Clicked event. (Inherited from DiagramBase.)

OnContainerChildAdded

Raises the ContainerChildAdded event. (Inherited from DiagramBase.)

OnContainerChildRemoved

Raises the ContainerChildRemoved event. (Inherited from DiagramBase.)

OnContainerFolded

Raises the ContainerFolded event. (Inherited from DiagramBase.)

OnContainerUnfolded

Raises the ContainerUnfolded event. (Inherited from DiagramBase.)

OnDefaultShapeChanged

Raises the DefaultShapeChanged event. (Inherited from DiagramBase.)

OnDeserializeTag

Raises the DeserializeTag event. (Inherited from DiagramBase.)

OnDestinationAnchorChanged

Raises the DestinationAnchorChanged event. (Inherited from DiagramBase.)

OnDirtyChanged

Raises the DirtyChanged event. (Inherited from DiagramBase.)

OnDrawAdjustmentHandles

Raises the DrawAdjustmentHandles event. (Inherited from DiagramBase.)

OnDrawAnchorPoint

Raises the DrawAnchorPoint event. (Inherited from DiagramBase.)

OnDrawBackground

Raises the DrawBackground event. (Inherited from DiagramBase.)

OnDrawCell

Raises the DrawCell event. (Inherited from DiagramBase.)

OnDrawForeground

Raises the DrawForeground event. (Inherited from DiagramBase.)

OnDrawLink

Raises the DrawLink event. (Inherited from DiagramBase.)

OnDrawNode

Raises the DrawNode event. (Inherited from DiagramBase.)

OnEndLoad

Raises the EndLoad event. (Inherited from DiagramBase.)

OnExpandButtonClicked

Raises the ExpandButtonClicked event. (Inherited from DiagramBase.)

OnHitTestAdjustmentHandles

Raises the HitTestAdjustmentHandles event. (Inherited from DiagramBase.)

OnInitializeLink

Raises the InitializeLink event. (Inherited from DiagramBase.)

OnInitializeNode

Raises the InitializeNode event. (Inherited from DiagramBase.)

OnItemAdded

Raises the ItemAdded event. (Inherited from DiagramBase.)

OnItemRemoved

Raises the ItemRemoved event. (Inherited from DiagramBase.)

OnJsonDeserializeTag

Raises the JsonDeserializeTag event. (Inherited from DiagramBase.)

OnJsonSerializeTag

Raises the JsonSerializeTag event. (Inherited from DiagramBase.)

OnLabelClicked

Raises the LabelClicked event. (Inherited from DiagramBase.)

OnLayerVisibilityChanged

Raises the LayerVisibilityChanged event. (Inherited from DiagramBase.)

OnLinkActivated

Raises the LinkActivated event. (Inherited from DiagramBase.)

OnLinkClicked

Raises the LinkClicked event. (Inherited from DiagramBase.)

OnLinkCreateCancelled

Raises the LinkCreateCancelled event. (Inherited from DiagramBase.)

OnLinkCreated

Raises the LinkCreated event. (Inherited from DiagramBase.)

OnLinkCreating

Raises the LinkCreating event. (Inherited from DiagramBase.)

OnLinkDeactivated

Raises the LinkDeactivated event. (Inherited from DiagramBase.)

OnLinkDeleted

Raises the LinkDeleted event. (Inherited from DiagramBase.)

OnLinkDeleting

Raises the LinkDeleting event. (Inherited from DiagramBase.)

OnLinkDeselected

Raises the LinkDeselected event. (Inherited from DiagramBase.)

OnLinkModified

Raises the LinkModified event. (Inherited from DiagramBase.)

OnLinkModifyCancelled

Raises the LinkModifyCancelled event. (Inherited from DiagramBase.)

OnLinkModifying

Raises the LinkModifying event. (Inherited from DiagramBase.)

OnLinkPasted

Raises the LinkPasted event. (Inherited from DiagramBase.)

OnLinkRouted

Raises the LinkRouted event. (Inherited from DiagramBase.)

OnLinkSelected

Raises the LinkSelected event. (Inherited from DiagramBase.)

OnLinkSelecting

Raises the LinkSelecting event. (Inherited from DiagramBase.)

OnLinkSplit

Raises the LinkSplit event. (Inherited from DiagramBase.)

OnLinkStartModifying

Raises the LinkStartModifying event. (Inherited from DiagramBase.)

OnLinkTextEdited

Raises the LinkTextEdited event. (Inherited from DiagramBase.)

OnLinkTextEditing

Raises the LinkTextEditing event to validate entering inplace edit mode. (Inherited from DiagramBase.)

OnMeasureUnitChanged

Raises the MeasureUnitChanged event. (Inherited from DiagramBase.)

OnNodeActivated

Raises the NodeActivated event. (Inherited from DiagramBase.)

OnNodeClicked

Raises the NodeClicked event. (Inherited from DiagramBase.)

OnNodeCreateCancelled

Raises the NodeCreateCancelled event. (Inherited from DiagramBase.)

OnNodeCreated

Raises the NodeCreated event. (Inherited from DiagramBase.)

OnNodeCreating

Raises the NodeCreating event. (Inherited from DiagramBase.)

OnNodeDeactivated

Raises the NodeDeactivated event. (Inherited from DiagramBase.)

OnNodeDeleted

Raises the NodeDeleted event. (Inherited from DiagramBase.)

OnNodeDeleting

Raises the NodeDeleting event. (Inherited from DiagramBase.)

OnNodeDeselected

Raises the NodeDeselected event. (Inherited from DiagramBase.)

OnNodeModified

Raises the NodeModified event. (Inherited from DiagramBase.)

OnNodeModifyCancelled

Raises the NodeModifyCancelled event. (Inherited from DiagramBase.)

OnNodeModifying

Raises the NodeModifying event. (Inherited from DiagramBase.)

OnNodePasted

Raises the NodePasted event. (Inherited from DiagramBase.)

OnNodeSelected

Raises the NodeSelected event. (Inherited from DiagramBase.)

OnNodeSelecting

Raises the NodeSelecting event. (Inherited from DiagramBase.)

OnNodeStartModifying

Raises the NodeStartModifying event. (Inherited from DiagramBase.)

OnNodeTextEdited

Raises the NodeTextEdited event. (Inherited from DiagramBase.)

OnNodeTextEditing

Raises the NodeTextEditing event to validate entering inplace edit mode. (Inherited from DiagramBase.)

OnOriginAnchorChanged

Raises the OriginAnchorChanged event. (Inherited from DiagramBase.)

OnQueryAlignTarget

Raises the QueryAlignTarget event. (Inherited from DiagramBase.)

OnRepaint

Raises the Repaint event. (Inherited from DiagramBase.)

OnRequestClipboard

Raises the RequestClipboard event. (Inherited from DiagramBase.)

OnRequestTimer

Raises the RequestTimer event. (Inherited from DiagramBase.)

OnSelectionChanged

Raises the SelectionChanged event. (Inherited from DiagramBase.)

OnSelectionModified

Raises the SelectionModified event. (Inherited from DiagramBase.)

OnSelectionModifying

Raises the SelectionModifying event. (Inherited from DiagramBase.)

OnSerializeTag

Raises the SerializeTag event. (Inherited from DiagramBase.)

OnSetSelfLoopShape

Raises the SetSelfLoopShape event. (Inherited from DiagramBase.)

OnTableSectionCollapsed

Raises the TableSectionCollapsed event. (Inherited from DiagramBase.)

OnTableSectionExpanded

Raises the TableSectionExpanded event. (Inherited from DiagramBase.)

OnTreeCollapsed

Raises the TreeCollapsed event. (Inherited from DiagramBase.)

OnTreeExpanded

Raises the TreeExpanded event. (Inherited from DiagramBase.)

OnTreeItemTextEditing

Raises the TreeItemTextEditing event. (Inherited from DiagramBase.)

OnValidateAnchorPoint

Raises the ValidateAnchorPoint event. (Inherited from DiagramBase.)

OnViewRemoved

Raises the ViewRemoved event. (Inherited from DiagramBase.)

RemoveItem

Invoked by the AddItemCmd and RemoveItemCmd classes to effectively remove the specified item from the diagram.

 Public Events

  Name Description

ActionRecorded

Raised when an action is recorded in the undo buffer. (Inherited from DiagramBase.)

ActionRecording

A validation event raised before an action is recorded in the undo buffer. (Inherited from DiagramBase.)

ActionRedone

Raised when an action is redone. (Inherited from DiagramBase.)

ActionUndone

Raised when an action is undone. (Inherited from DiagramBase.)

ActiveLayerChanged

Raised when the diagram's active layer has changed. (Inherited from DiagramBase.)

BeginLoad

Raised when the component starts loading diagram data from a file or memory stream. (Inherited from DiagramBase.)

BoundsChanged

Raised when the Bounds property value has changed. (Inherited from DiagramBase.)

CellClicked

Raised when the user clicks a table's cell. (Inherited from DiagramBase.)

CellTextEdited

Raised when the user edits the text of a table's cell. (Inherited from DiagramBase.)

CellTextEditing

A validation event that lets you approve or reject changes made to the text of a table's cell. (Inherited from DiagramBase.)

Clicked

Raised when the user clicks the diagram at a point where no items are located. (Inherited from DiagramBase.)

ContainerChildAdded

Raised when a node is added to a ContainerNode, either programmatically or by the user. (Inherited from DiagramBase.)

ContainerChildRemoved

Raised when a node is removed from a ContainerNode, either programmatically or by the user. (Inherited from DiagramBase.)

ContainerFolded

Raised when the user folds a container by clicking the arrow-up button in the container's caption area. (Inherited from DiagramBase.)

ContainerUnfolded

Raised when the user unfolds a container by clicking the arrow-down button in the container's caption area. (Inherited from DiagramBase.)

DefaultShapeChanged

Raised when the DefaultShape property value has changed. (Inherited from DiagramBase.)

DeserializeTag

Raised when the Tag of a diagram item must be deserialized from XML format. (Inherited from DiagramBase.)

DestinationAnchorChanged

Raised when the DestinationAnchor property value of a link has changed. (Inherited from DiagramBase.)

DirtyChanged

Raised when the Dirty property value has changed. (Inherited from DiagramBase.)

DrawAdjustmentHandles

Raised when item's adjustment handles must be custom drawn. (Inherited from DiagramBase.)

DrawAnchorPoint

Raised when an anchor point must be custom drawn. (Inherited from DiagramBase.)

DrawBackground

Raised to let you custom draw the diagram background. (Inherited from DiagramBase.)

DrawCell

Raised when a table's cell must be custom drawn. (Inherited from DiagramBase.)

DrawForeground

Raised to let you custom draw the diagram foreground. (Inherited from DiagramBase.)

DrawLink

Raised when a diagram link must be custom drawn. (Inherited from DiagramBase.)

DrawNode

Raised when a diagram node must be custom drawn. (Inherited from DiagramBase.)

EndLoad

Raised when the component ends loading diagram data from a file or memory stream. (Inherited from DiagramBase.)

ExpandButtonClicked

Raised if ExpandButtonAction is set to RaiseEvents and the [+/-] button of an Expandable node is clicked. (Inherited from DiagramBase.)

HitTestAdjustmentHandles

Raised when custom hit testing of item's adjustment handles must be performed. (Inherited from DiagramBase.)

InitializeLink

Raised when the user starts drawing a new link, just after the DiagramLink instance is created. (Inherited from DiagramBase.)

InitializeNode

Raised when the user starts drawing a new node, just after the DiagramNode instance is created. (Inherited from DiagramBase.)

ItemAdded

Raised when an item is added to the diagram, either programmatically or interactively. (Inherited from DiagramBase.)

ItemRemoved

Raised when an item is removed from the diagram, either programmatically or interactively. (Inherited from DiagramBase.)

JsonDeserializeTag

Raised when the Tag of a diagram item must be deserialized from Json. (Inherited from DiagramBase.)

JsonSerializeTag

Raised when the Tag of a diagram item must be serialized to Json. (Inherited from DiagramBase.)

LabelClicked

Raised when the user clicks a link label. (Inherited from DiagramBase.)

LayerVisibilityChanged

Raised when the visibility of a Layer changes. (Inherited from DiagramBase.)

LinkActivated

Raised when a link becomes the ActiveItem. (Inherited from DiagramBase.)

LinkClicked

Raised when the user clicks a link. (Inherited from DiagramBase.)

LinkCreateCancelled

Raised when the user cancels link creation. (Inherited from DiagramBase.)

LinkCreated

Raised when the user draws a new link. (Inherited from DiagramBase.)

LinkCreating

A validation event raised while the user is drawing a new link. (Inherited from DiagramBase.)

LinkDeactivated

Raised when a link is no longer the ActiveItem. (Inherited from DiagramBase.)

LinkDeleted

Raised when a link is deleted, either programmatically or by the user. (Inherited from DiagramBase.)

LinkDeleting

Raised when the user tries to delete a link, this event lets you cancel the operation. (Inherited from DiagramBase.)

LinkDeselected

Raised when a link is deselected, either programmatically or by the user. (Inherited from DiagramBase.)

LinkModified

Raised when the user moves any control point of a link. (Inherited from DiagramBase.)

LinkModifyCancelled

Raised when the user cancels move or resize operation being done on a link. (Inherited from DiagramBase.)

LinkModifying

A validation event raised while the user is modifying a link. (Inherited from DiagramBase.)

LinkPasted

Raised when a link has been pasted from the clipboard. (Inherited from DiagramBase.)

LinkRouted

Raised when a link is routed by the auto-routing algorithm. (Inherited from DiagramBase.)

LinkSelected

Raised when a link is selected, either programmatically or by the user. (Inherited from DiagramBase.)

LinkSelecting

Raised when the user tries to select a link, this event lets you cancel the operation. (Inherited from DiagramBase.)

LinkSplit

Raised when the user splits a link interactively. (Inherited from DiagramBase.)

LinkStartModifying

A validation event raised when the user starts modifying a link. (Inherited from DiagramBase.)

LinkTextEdited

Raised when the user edits the text of a link. (Inherited from DiagramBase.)

LinkTextEditing

A validation event that lets you approve or reject changes made to the text of a link. (Inherited from DiagramBase.)

MeasureUnitChanged

Raised when the MeasureUnit property value has changed. (Inherited from DiagramBase.)

NodeActivated

Raised when a node becomes the ActiveItem. (Inherited from DiagramBase.)

NodeClicked

Raised when the user clicks a node. (Inherited from DiagramBase.)

NodeCreateCancelled

Raised when the user cancels node creation. (Inherited from DiagramBase.)

NodeCreated

Raised when the user draws a new node. (Inherited from DiagramBase.)

NodeCreating

A validation event raised while the user is drawing a new node. (Inherited from DiagramBase.)

NodeDeactivated

Raised when a node is no longer the ActiveItem. (Inherited from DiagramBase.)

NodeDeleted

Raised when a node is deleted, either programmatically or by the user. (Inherited from DiagramBase.)

NodeDeleting

Raised when the user tries to delete a node, this event lets you cancel the operation. (Inherited from DiagramBase.)

NodeDeselected

Raised when a node is deselected, either programmatically or by the user. (Inherited from DiagramBase.)

NodeModified

Raised when the user moves or resizes a node. (Inherited from DiagramBase.)

NodeModifyCancelled

Raised when the user cancels move or resize operation being done on a node. (Inherited from DiagramBase.)

NodeModifying

A validation event raised while the user is moving or resizing a node. (Inherited from DiagramBase.)

NodePasted

Raised when a node has been pasted from the clipboard. (Inherited from DiagramBase.)

NodeSelected

Raised when a node is selected, either programmatically or by the user. (Inherited from DiagramBase.)

NodeSelecting

Raised when the user tries to select a node, this event lets you cancel the operation. (Inherited from DiagramBase.)

NodeStartModifying

A validation event raised when the user starts modifying a node. (Inherited from DiagramBase.)

NodeTextEdited

Raised when the user edits the text of a node. (Inherited from DiagramBase.)

NodeTextEditing

A validation event that lets you approve or reject changes made to the text of a node. (Inherited from DiagramBase.)

OriginAnchorChanged

Raised when the OriginAnchor property value of a link has changed. (Inherited from DiagramBase.)

QueryAlignTarget

Raised to validate a node as target for alignment guides when AutoAlignNodes is enabled. (Inherited from DiagramBase.)

Repaint

Raised when the diagram views should be repainted. (Inherited from DiagramBase.)

RequestCacheReset

Raised when an object within the diagram requests a reset of the cached bitmap. (Inherited from DiagramBase.)

RequestClipboard

Raised when an object within the diagram requests an operation with the clipboard. (Inherited from DiagramBase.)

RequestTimer

Raised when an object within the diagram needs to start or stop a timer. (Inherited from DiagramBase.)

SelectionChanged

Raised when an item is added to or removed from the selection. (Inherited from DiagramBase.)

SelectionModified

Raised when the user moves multiple selected items. (Inherited from DiagramBase.)

SelectionModifying

Raised while the user is moving multiple selected items, this event lets you cancel the modification. (Inherited from DiagramBase.)

SerializeTag

Raised when the Tag of a diagram item must be serialized into an XML document. (Inherited from DiagramBase.)

SetSelfLoopShape

Raised when a link becomes a self-loop, giving you a chance to override the default look shape. (Inherited from DiagramBase.)

TableSectionCollapsed

Raised when the user collapses the rows of a table's section by clicking the [-] button in the section's header row. (Inherited from DiagramBase.)

TableSectionExpanded

Raised when the user expands the rows of a table's section by clicking the [+] button in the section's header row. (Inherited from DiagramBase.)

TreeCollapsed

Raised when a user collapses a tree branch by clicking the [-] button of an Expandable node. (Inherited from DiagramBase.)

TreeExpanded

Raised when a user expands a tree branch by clicking the [+] button of an Expandable node. (Inherited from DiagramBase.)

TreeItemTextEditing

A validation event that lets you approve or reject changes made to the text of a treeviewnode's item. (Inherited from DiagramBase.)

ValidateAnchorPoint

A validation event that lets you approve or reject connecting a link to an anchor point. (Inherited from DiagramBase.)

ViewRemoved

Raised when a DiagramView is detached from this diagram. (Inherited from DiagramBase.)

 See Also