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

The Diagram class represents a flow diagram.

 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.

AlignmentGuidePen

Gets or sets the pen used to draw alignment guides.

AlignToGrid

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

AllowLinksRepeat

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

AllowMultipleResize

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

AllowSelfLoops

Gets or sets a value indicating whether self-loops are allowed.

AllowSplitLinks

Gets or sets a value indicating whether link 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.

AutoArrangeAvoidContainers

Gets or sets a value indicating whether auto-arranged link labels should avoid containers.

AutoArrangeAvoidSegments

Gets or sets a value indicating whether auto-arranged link labels should avoid link segments.

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 must 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 image displayed as background of this diagram.

BackgroundImageAlign

Gets or sets a value indicating how the background image is positioned, relatively to the scrollable document area.

BackgroundImageUrl

URL of the image painted as diagram's background.

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.

BranchIndicatorColor

Gets or sets the color of link branch indicators.

BranchIndicatorSize

Gets or sets the size of link branch indicators.

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.

CompositeNodeStyle

Gets the theme-level style for composite nodes.

ContainerCaption

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

ContainerCaptionHeight

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

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 link 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.

EffectsProvider

Gets or sets an object used to generate visual effects for shape nodes such as embossment and shadow dispersion.

EnableEmbossEffects

Gets or sets a value indicating whether emboss effect for shape nodes is enabled.

EnableLanes

Gets or sets whether lanes are enabled.

EnableShadowEffects

Gets or sets a value indicating whether the shadow dispersion effect for nodes is enabled.

EnableSpatialIndex

Gets or sets whether to index item positions for faster hit-testing and viewport clipping queries.

EnableStyledText

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

ExpandButtonAction

Gets or sets a value indicating 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 Bounds.

Factory

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

FocusedComponent

Gets or sets the component within this diagram which currently has the input focus.

FoldedContainerSize

Gets or sets the size of folded containers.

Font

Gets or sets the default font for new diagram items.

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 point of the alignment grid.

GridOffsetY

Gets or sets the vertical offset of the first point of the alignment grid.

GridPatternHatch

Gets or sets a hatch style used to draw dense alignment grid at low zoom levels.

GridPatternThreshold

Gets or sets the distance between grid points (in pixels) that triggers drawing using GridPatternHatch.

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.

Groups

Gets a collection of all groups in the diagram.

HitTestPriority

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

HoverDelay

Gets or sets the time in milliseconds that mouse pointer should remain stationary before reporting hover events.

Interaction

Gets an InteractionState instance representing the current action being carried out by the user.

IsProEdition

Gets a value indicating whether the currently loaded MindFusion.Diagramming is a professional version of the control.

Items

Gets a collection of all items in this diagram.

LaneGrid

Gets the Grid instance that represents 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.

LinkBranchIndicator

Gets or sets a value indicating what shapes to display as markers at points where overlapping Cascading links diverge.

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.

LinkIntermediateShape

Gets or sets the 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 link segments.

LinkMergeIndicator

Gets or sets a value indicating what shapes to display as markers at points where overlapping Cascading links merge.

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 DiagramLink objects in the diagram.

LinkSegments

Gets or sets the default number of link segments.

LinkShape

Gets or sets the default value of the Shape property of new links.

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.

MeasureTextRenderingHint

Gets or sets the TextRenderingHint to use when measuring texts. This should be effectively set to the value of DiagramView.TextRenderingHint.

MeasureUnit

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

MergeIndicatorColor

Gets or sets the color of link merge indicators.

MergeIndicatorSize

Gets or sets the size of link merge indicators.

MergeThreshold

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

MinimumNodeSize

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

ModificationEffect

Gets or sets the visual effect to apply during interactive modification of items.

NodeEffects

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

Nodes

Gets a collection of all DiagramNode objects in the 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.

PolygonalTextLayout

Gets or sets a value indicating whether to enable the formatting of text inside non-rectangular shape node outlines.

RecursiveExpand

Gets or sets value indicating how a tree is expanded.

RenderOptions

Gets the current rendering options for this diagram.

RestrictItemsToBounds

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

RoundedLinks

Gets or sets a value indicating 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 indicating 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 a value indicating whether newly created objects are automatically selected.

SelectedItemHandlesStyle

Gets the visual style of adjustment handles of selected items.

Selection

Gets a 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.

SerializationBinder

Gets or sets a SerializationBinder object used to control class loading.

ShadowBrush

Gets or sets the default brush used to paint the shadows cast by diagram items.

ShadowOffsetX

Gets or sets the horizontal offset of item shadows.

ShadowOffsetY

Gets or sets the vertical offset of item 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 objects under the mouse while another object is being modified.

SnapToAnchor

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

SortGroupsByZ

Gets or sets a value indicating whether grouped items should be drawn sorted by their z-order while the whole group is being moved.

Style

Gets or sets the style associated with the diagram.

SvgNodeStyle

Gets the theme-level style for SVG nodes.

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 a link between tables should connect the 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 value of the Shape property 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.

ToolTip

Gets or sets a short text message displayed when the mouse pointer rests over the diagram.

TouchHitDistance

Specifies distance from adjustment handles at which they are still considered as hit when processing touch input.

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 one passed as an argument.

AllowNodeBounds

Determines whether node can be placed at specified coordinates.

Arrange

Arranges the diagram using the specified graph layout algorithm.

ArrangeAnimated

Arranges the diagram using the specified graph layout algorithm, and animates items moving to their new positions.

ArrangeAsync

Arranges the diagram asynchronously using the specified graph layout algorithm.

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 from the diagram.

Clone

Creates a copy of this diagram.

CopySelection

Overloaded. Creates a copy of specified diagram elements.

CopyTo

Copies this diagram's properties and items to specified target 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.

DrawInteraction

Draws the items that the user is currently modifying.

DrawInteractions

For internal use.

DrawLayer

Renders all diagram items to the specified graphics.

DrawStyledText

Draws a formatted text string, the same way text is drawn in shape nodes whose EnableStyledText property is set to true. This method lets you display styled text in custom-drawn nodes or links.

EffectiveTouchHitDistance

Returns TouchHitDistance or a default value.

EnumByReverseZ

Hit-tests diagram items in reverse Z order.

EnumTopLevelByReverseZ

Hit-tests diagram top-level items in reverse Z order.

ExecuteCommand

Executes the specified command on this diagram.

FindGroup

Finds the group that has the specified tag value.

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.

GetItemAt

Overloaded.  

GetLinkAt

Overloaded. Finds and returns the link that lies at the specified location.

GetLinksAt

Returns the links that contain the specified point.

GetNearestNode

Returns the node nearest to the specified point.

GetNodeAt

Overloaded. Gets the node that lies at the specified location.

GetNodesAt

Returns the nodes that contain the specified point.

GetNodesInViewport

Returns all nodes visible in the current viewport.

HandleKeyDown

Propagates keyboard input to interested manipulators and components.

HandleKeyPress

Propagates keyboard input to interested manipulators.

HandleKeyUp

Propagates keyboard input to interested components.

HandleMouseMove

Propagates mouse input to interested manipulators.

HitTestComponents

Tests whether the specified point is within a component of a diagram item and returns this component.

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 or a region of the diagram, causing it to be repainted.

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.

LoadFromJsonAsync

Loads the diagram from a JSON-formatted string.

LoadFromJsonFile

Loads the diagram from a JSON file.

LoadFromJsonFileAsync

Loads the diagram from a JSON file.

LoadFromJsonObject

Loads the diagram from a JSON object.

LoadFromString

Decodes diagram contents from a string that was created with SaveToString.

LoadFromXml

Overloaded. Loads the contents of an XML diagram document into the control.

LoadFromXmlAsync

Overloaded.  

LoadSelectionFromJson

 

MeasureString

Overloaded. Measures a text taking into consideration the current affine transform of the diagram.

Navigate

Selects the nearest item in the specified direction.

NewInstance

Custom Diagram classes must override this method to return an instance of their type.

PasteSelection

Adds the specified items and groups to the specified diagram document.

RaiseCellTextEdited

Raises the CellTextEdited event .

RaiseCellTextEditing

Raises the CellTextEditing event to validate entering in-place editing mode.

RaiseClicked

Overloaded. Raises the Clicked event of the diagram or one of the *Clicked events related to diagram items.

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.

RaiseDoubleClicked

Overloaded. Raises the DoubleClicked event of the diagram or one of the *DoubleClicked events related to diagram items.

RaiseLinkTextEdited

Raises the LinkTextEdited event.

RaiseLinkTextEditing

Raises the LinkTextEditing event to validate entering inplace edit mode.

RaiseModified

Raises the NodeModified event.

RaiseMouseHover

Raises the appropriate Pointed event.

RaiseNodeModifying

Raises the NodeModifying event. (Inherited from DiagramBase.)

RaiseNodeTextEdited

Raises the NodeTextEdited event.

RaiseNodeTextEditing

Raises the NodeTextEditing event to validate entering inplace edit mode.

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.  

ResetAlignmentGuides

For internal use.

ResizeToFitItem

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

ResizeToFitItems

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

ResumeLinkRouter

Called when the control ends a batch update operation that might affect many links.

RouteAllLinks

Overloaded.  

SaveSelectionToJson

Saves the diagram selection to a JSON object.

SaveToJson

Saves the diagram to a JSON-formatted string.

SaveToJsonAsync

Saves the diagram to a JSON-formatted string.

SaveToJsonFile

Saves the diagram into a JSON file.

SaveToJsonFileAsync

Saves the diagram into a JSON file.

SaveToJsonObject

Saves the diagram to a JSON object.

SaveToString

Encodes the diagram contents into an ASCII string using the specified format and optionally clearing the Dirty flag.

SaveToXml

Overloaded. Saves the diagram to an XML document.

SaveToXmlAsync

Overloaded.  

SetShadowOffset

Sets the default offset at which items shadows are drawn.

SuspendLinkRouter

Called when the control starts a batch update operation that might affect many links. The diagram collects links specified through Route and RouteAllLinks calls and defers finding their paths to when ResumeLinkRouter is called.

TrackMouseHover

Specifies whether the diagram view should track mouse hover events. (Inherited from DiagramBase.)

UpdateMeasureTextScale

Gets or sets the scale to use when measuring texts. This should be effectively set to the value of DiagramView.Zoom / 100.

UpdateRuntimeIndices

For internal use.

UpdateZOrder

Immediately sorts the Z-order list if Z-order has been invalidated. Otherwise it will be sorted next time the diagram draws its contents.

 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.

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.

DeleteGroup

Removes the specified group from the group collection.

Dispose

Clean up any resources being used.

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.)

OnCellDoubleClicked

Raises the CellDoubleClicked 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.)

OnContentVisibilityChanged

Raises the ContentVisibilityChanged 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.)

OnDoubleClicked

Raises the DoubleClicked 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.)

OnDrawBranchIndicator

Raises the DrawBranchIndicator 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.)

OnGroupDestroyed

Raises the GroupDestroyed event. (Inherited from DiagramBase.)

OnHitTestAdjustmentHandles

Raises the HitTestAdjustmentHandles event. (Inherited from DiagramBase.)

OnInitializeLasso

Raises the InitializeLasso 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.)

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.)

OnLinkDoubleClicked

Raises the LinkDoubleClicked event. (Inherited from DiagramBase.)

OnLinkHovered

Raises the LinkHovered 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.)

OnLinkPointerEnter

Raises the LinkPointerEnter event. (Inherited from DiagramBase.)

OnLinkPointerLeave

Raises the LinkPointerLeave 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.)

OnNodeDoubleClicked

Raises the NodeDoubleClicked event. (Inherited from DiagramBase.)

OnNodeHovered

Raises the NodeHovered 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.)

OnNodePointerEnter

Raises the NodePointerEnter event. (Inherited from DiagramBase.)

OnNodePointerLeave

Raises the NodePointerLeave 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.)

OnPropertyChanged

Raises the PropertyChanged 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.)

OnRequestDrawInteractions

Raises the RequestDrawInteractions 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.)

OnShapeModified

Raises the ShapeModified event. (Inherited from DiagramBase.)

OnShapeNotDefined

Raises the ShapeNotDefined event. (Inherited from DiagramBase.)

OnTableColumnResized

Raises the TableColumnResized event. (Inherited from DiagramBase.)

OnTableColumnResizing

Raises the TableColumnResizing event. (Inherited from DiagramBase.)

OnTableRowResized

Raises the TableRowResized event. (Inherited from DiagramBase.)

OnTableRowResizing

Raises the TableRowResizing 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.)

OnValidateLinkCrossing

Raises the ValidateLinkCrossing 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.)

CellDoubleClicked

Raised when the user double-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.)

ContentVisibilityChanged

Raised when the visibility of container's content changes. (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.)

DoubleClicked

Raised when the user double-clicks the diagram at a point where no items are located. (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.)

DrawBranchIndicator

Raised when a branch indicator must be custom-drawn. (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 when the user clicks the [±] button of an Expandable node. (Inherited from DiagramBase.)

GroupDestroyed

Raised when a Group object is destroyed. (Inherited from DiagramBase.)

HitTestAdjustmentHandles

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

InitializeLasso

Raised when the user starts drawing a selection lasso, before it is rendered on screen. (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.)

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.)

LinkDoubleClicked

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

LinkHovered

Raised when the mouse pointer hovers over a link. (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.)

LinkPointerEnter

Raised when the mouse pointer enters the boundaries of a link. (Inherited from DiagramBase.)

LinkPointerLeave

Raised when the mouse pointer leaves the boundaries of a link. (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.)

NodeDoubleClicked

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

NodeHovered

Raised when the mouse pointer hovers over a node. (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.)

NodePointerEnter

Raised when the mouse pointer enters the boundaries of a node. (Inherited from DiagramBase.)

NodePointerLeave

Raised when the mouse pointer leaves the boundaries of a node. (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.)

PropertyChanged

INotifyPropertyChanged.PropertyChanged implementation. (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.)

RequestDrawInteractions

For internal use. (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.)

ShapeModified

Raised when the user modifies the shape of a ShapeNode by moving one of the control points corresponding to shape formula parameters. (Inherited from DiagramBase.)

ShapeNotDefined

Raised when the diagram being loaded contains nodes with an undefined shape. (Inherited from DiagramBase.)

TableColumnResized

Raised when the user finishes resizing a column in a table. (Inherited from DiagramBase.)

TableColumnResizing

Raised when the user resizes a column in a table interactively. (Inherited from DiagramBase.)

TableRowResized

Raised when the user finishes resizing a row in a table. (Inherited from DiagramBase.)

TableRowResizing

Raised when the user resizes a row in a table interactively. (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.)

ValidateLinkCrossing

A validation event that lets you approve or reject displaying a decoration at the intersection point of links. (Inherited from DiagramBase.)

ViewRemoved

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

 See Also