DiagramLite Programmer's Guide
Diagram Members
Constructors Fields Properties Methods Events
 


The Diagram class 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

AdjustmentHandlesSizeProperty

Identifies the AdjustmentHandlesSize dependency property.

AlignmentGuidePenProperty

Identifies the AlignmentGuidePen dependency property.

AllowMultipleResizeProperty

Identifies the AllowMultipleResize dependency property.

AllowUnconnectedLinksProperty

Identifies the AllowUnconnectedLinks dependency property.

AutoScrollProperty

Identifies the AutoScroll dependency property.

CanRedoProperty

Identifies the CanRedo dependency property.

CanUndoProperty

Identifies the CanUndo dependency property.

ContainerNodeStyleProperty

Identifies the ContainerNodeStyle dependency property.

DiagramLinkStyleProperty

Identifies the DiagramLinkStyle dependency property.

Dummy

A shared DummyNode instance.

EnableLanesProperty

Identifies the EnableLanes dependency property.

ExpandButtonTemplateProperty

Identifies the ExpandButtonTemplate dependancy property.

GridDashArrayProperty

Identifies the GridDashArray dependency property.

GridPointSizeProperty

Identifies the GridPointSize dependency property.

MagnifierFactorProperty

Identifies the MagnifierFactor dependency property.

MagnifierHeightProperty

Identifies the MagnifierHeight dependency property.

MagnifierStyleProperty

Identifies the MagnifierStyle dependency property.

MagnifierWidthProperty

Identifies the MagnifierWidth dependency property.

NodeEffectsSourceProperty

Identifies the NodeEffectsSource dependency property.

ShapeNodeStyleProperty

Identifies the ShapeNodeStyle dependency property.

TableNodeStyleProperty

Identifies the TableNodeStyle dependency property.

TreeViewNodeStyleProperty

Identifeis the TreeViewNodeStyle dependency property.

ZoomFactorProperty

Identifies the ZoomFactor property.

 Public Properties

  Name Description

ActiveItem

Gets or sets the active diagram element.

ActiveItemHandlesStyle

Gets or sets 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. This is a dependency property.

AlignmentGuidePen

Gets or sets the pen used to draw alignment guides. This is a dependency property.

AlignToGrid

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

AllowInplaceEdit

Gets or sets a value indicating whether in-place editing of the text of objects is enabled.

AllowMultipleResize

Specifies whether multiple selected nodes can be resized simultaneously. This is a dependency property.

AllowUnconnectedLinks

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

AutoAlignDistance

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

AutoAlignNodes

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

AutoResize

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

AutoScroll

Gets or sets a value indicating whether auto scrolling of the document area is enabled. This is a dependency property.

AutoSnapDistance

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

AutoSnapLinks

Specifies whether link end points should automatically snap to the nearest diagram node.

BackBrush

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

Behavior

Gets or sets a value indicating how the control responds to user actions.

Bounds

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

CanRedo

Gets or sets a value indicating whether there is a command in the redo history which can be redone.

CanUndo

Gets or sets a value indicating whether there is a command in the undo history which can be undone.

ContainerNodeStyle

Gets or sets the theme-level style for container nodes. This is a dependency property.

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.

CustomBehavior

Gets or sets a custom behavior object specifying how DiagramLite responds to mouse input.

DefaultControlType

Gets or sets the type of the controls that will be hosted by default in newly create ControlNode objects.

DefaultShape

Gets or sets the default shape of shape nodes.

DelKeyAction

Gets or sets a value that specifies what action should be performed when the user hits the Del key.

DiagramLinkStyle

Gets or sets the theme-level style for diagram links. This is a dependency property.

DisabledHandlesStyle

Gets or sets the visual style of disabled adjustment handles.

DocumentPlane

DocumentPlane is visual child of diagram and ancestor of all diagram items. The DocumentPlane element is translated with respect to Diagram element so that the point Diagram.Bounds.TopLeft from the DocumentPlane is rendered at Diagram element location (0,0). The coordinate system of the DocumentPlane is the document coordinate system. The intended use of this property is mainly in MouseMove event handling

DynamicLinks

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

Enabled

Enables or disables handling of mouse events.

EnableLanes

Gets or sets whether lanes are enabled. This is a dependency property.

ExpandButtonAction

Gets or sets a value indicating what should happen when a user clicks the [+/-] button that is displayed near expandable nodes.

ExpandButtonBrush

Gets or sets the brush used to fill expand/collapse buttons of nodes.

ExpandButtonPosition

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

ExpandButtonTemplate

Gets or sets a custom ControlTemplate for the ExpandButton class.

ExpandOnIncoming

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

Factory

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

GridColor

Gets or sets the color of the grid points.

GridDashArray

Gets or sets a collection of double values that indicate the pattern of dashes and gaps that is used to draw grid lines. This is a dependency property.

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.

GridPointSize

Gets or sets the size of shapes used to represent grid points. This is a dependency property.

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.

InplaceEditAcceptOnEnter

Gets or sets a value indicating whether pressing the ENTER key should exit in-place editing mode and accept changes made to text.

InplaceEditCancelOnEsc

Gets or sets a value indicating whether pressing the ESC key should exit inplace-edit mode and reject changes made to text.

Interaction

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

Items

Represents a strongly typed collection of DiagramItem objects.

LaneGrid

Gets the Grid instance that represents the lane grid.

Layers

Gets a list of the layers in the current diagram.

LicenseKey

Gets or sets the license key of the control.

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.

LinkCrossings

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

LinkHeadShape

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

LinkHeadShapeSize

Gets or sets the default size of arrowheads.

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

LinkPen

Gets or sets the default value for the Pen property 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 DiagramLinkCollection containing the links.

LinkSegments

Gets or sets the default number of link segments.

LinkShape

Gets or sets the default style of diagram links.

MagnifierFactor

Gets or sets the zoom factor of the magnifier tool. This is a dependency property.

MagnifierHeight

Gets or sets the height of the magnifier tool. This is a dependency property.

MagnifierStyle

Gets or sets the style of the magnifier tool. This is a dependency property.

MagnifierWidth

Gets or sets the width of the magnifier tool. This is a dependency property.

MeasureUnit

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

ModificationStart

Gets or sets how users can start modifying diagram items.

NodeEffects

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

Nodes

Gets a DiagramNodeCollection containing the nodes.

NodesExpandable

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

OverrideCursor

Sets the cursor and stops changing it depending on the context.

PrintOptions

Gets an object which provides customization properties for printed diagrams.

RecursiveExpand

Gets or sets value indicating how a tree is expanded.

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.

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.

ScrollX

Gets or sets the document's X scroll position.

ScrollY

Gets or sets the document's Y scroll position.

ScrollZoneSize

Gets or sets the size of the auto scroll zone near the edges of the control.

SelectedItemHandlesStyle

Gets or sets the visual style of adjustment handles of selected items.

Selection

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

ShapeBrush

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

ShapeHandlesStyle

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

ShapeNodeStyle

Gets or sets the theme-level style for shape nodes. This is a dependency property.

ShapePen

Gets or sets the default value for the Pen property of new ShapeNode objects.

ShowAnchors

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

ShowGrid

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

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.

TableNodeStyle

Gets or sets the theme-level style for table nodes. This is a dependency property.

TableRowCount

Gets or sets the default number of table rows.

TableRowHeight

Gets or sets the default height of tables' rows.

Theme

Gets or sets the theme associated with the diagram.

TreeViewNodeStyle

Gets or sets the theme-level style for treeview nodes. This is a dependency property.

UndoEnabled

Gets or sets a value indicating whether saving action records for later undo is enabled.

Viewport

Returns the visible portion of the diagram area.

ZoomFactor

Gets or sets the zoom factor used to scale up or down the Diagram.

 Public Methods

  Name Description

AlignPointToGrid

Returns a point of the alignment grid nearest to the one passed as an argument.

ArrangeLinkLabels

Rearranges link labels whose AutoArrange property is enabled.

BeginEdit

Overloaded.  

CancelCompositeOperation

Stops recording undo/redo commands into a CompositeCommand and discards the records created so far.

CancelDrag

Cancels the current drag operation.

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.

CommitCompositeOperation

Stops recording undo/redo commands into a CompositeCommand and saves the composite in the history queue.

CopySelection

Creates a copy of the currently selected objects and groups.

CopyToClipboard

Copies the current selection of items to the clipboard.

CreateImage

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

CreateThemeFromDefaults

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

CutToClipboard

Cuts the currently selected items to the Windows clipboard.

EndDelayUpdate

Continue updating the visual state of items.

EndEdit

Exits the in-place editing mode and either accepts or rejects the changes made to the item's text.

ExecuteCommand

Executes the specified command on this diagram.

FindLinkById

Finds the link that has the specified id 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 top-most link that lies at the specified location.

GetNearestNode

Returns the node nearest to the specified point.

GetNodeAt

Overloaded.  

GetNodesInViewport

Returns all nodes visible in the current viewport.

HitTestManipulators

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

Invalidate

Causes the entire visible diagram area to be repainted.

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.

LoadFromString

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

LoadFromXml

Overloaded.  

OnApplyTemplate

FrameworkElement.OnApplyTemplate override.

PasteFromClipboard

Overloaded. Pastes diagram items from the Windows clipboard.

PasteSelection

Adds the specified items and groups to this diagram.

Print

Overloaded.  

RaiseClicked

Raises the Clicked event.

RaiseClicked

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

RaiseCreated

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

RaiseDeleting

Raises the LinkDeleting or NodeDeleting event according to the type of the specified item.

RaiseDoubleClicked

Overloaded.  

RaiseLinkTextEdited

Raises the LinkTextEdited event.

RaiseNodeTextEdited

Raises the NodeTextEdited event.

RaisePasted

Raises the appropriate Pasted event.

Redo

Executes again an action saved in the command history.

RegisterClass

Registers a class for serialization support.

RegisterItemClass

Registers a diagram item class for serialization support.

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.

RouteAllLinks

Routes all links in the diagram in a way they do not cross nodes.

SaveToPng

Overloaded. Exports the Diagram to PNG.

SaveToString

Returns a serialized form of the diagram as string

SaveToXml

Overloaded.  

SetScrollerParent

Binds the lane-grid header positions to the offset of a ScrollViewer's scrollbars.

SetZoomFactor

Sets the zoom factor, preserving the on-screen position of the specified diagram point.

StartCompositeOperation

Starts recording undo/redo commands into a CompositeCommand.

StartDelayUpdate

Stops updating the visual state of items.

StartInteraction

Overloaded.  

Undo

Undoes an action saved in the command history.

UpdateRuntimeIndices

For internal use.

UpdateVisualZIndices

For internal use.

ZoomToRect

Zooms and scrolls the view to fit the specified document rectangle in the Diagram's visible area.

 Protected Methods

  Name Description

ArrangeOverride

FrameworkElement.ArrangeOverride override.

OnMouseRightButtonDown

Control.OnMouseRightButtonDown override.

OnMouseRightButtonUp

Control.OnMouseRightButtonUp override.

RemoveItem

Removes the specified item from the diagram and creates a record in the undo/redo history.

 Inherited Protected Methods

  Name Description

OnActionRedone

Raises the ActionRedone event. (Inherited from DiagramBase.)

OnActionUndone

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

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

OnDeserializeControl

Raises the DeserializeControl event. (Inherited from DiagramBase.)

OnDeserializeTag

Raises the DeserializeTag event. (Inherited from DiagramBase.)

OnDoubleClicked

Raises the DoubleClicked event. (Inherited from DiagramBase.)

OnDrawAdjustmentHandles

Raises the DrawAdjustmentHandles event. (Inherited from DiagramBase.)

OnEnterInplaceEditMode

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

OnLaneGridCellCreated

Raises the LaneGridCellCreated event. (Inherited from DiagramBase.)

OnLaneGridHeaderCreated

Raises the LaneGridHeaderCreated event. (Inherited from DiagramBase.)

OnLeaveInplaceEditMode

Raises the LeaveInplaceEditMode event. (Inherited from DiagramBase.)

OnLinkActivated

Raises the LinkActivated event. (Inherited from DiagramBase.)

OnLinkClicked

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

OnLinkModified

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

OnLinkTextEdited

Raises the LinkTextEdited event. (Inherited from DiagramBase.)

OnMagnifierFactorChanged

Raises the MagnifierFactorChanged event. (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.)

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

OnNodeModified

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

OnNodeTextEdited

Raises the NodeTextEdited event. (Inherited from DiagramBase.)

OnRepaint

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

OnSerializeControl

Raises the SerializeControl event. (Inherited from DiagramBase.)

OnSerializeTag

Raises the SerializeTag event. (Inherited from DiagramBase.)

OnSetSelfLoopShape

Raises the SetSelfLoopShape event. (Inherited from DiagramBase.)

OnTreeCollapsed

Raises the TreeCollapsed event. (Inherited from DiagramBase.)

OnTreeExpanded

Raises the TreeExpanded event. (Inherited from DiagramBase.)

OnValidateAnchorPoint

Raises the ValidateAnchorPoint event. (Inherited from DiagramBase.)

OnZoomFactorChanged

Raises the ZoomFactorChanged event. (Inherited from DiagramBase.)

 Inherited Public Events

  Name Description

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

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

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

DeserializeControl

Lets you load the attributes of controls hosted inside ControlNodes. (Inherited from DiagramBase.)

DeserializeTag

Raised when the Tag or Id of a diagram item must be deserialized from XML format. (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.)

EnterInplaceEditMode

Raised when entering inplace-edit mode. (Inherited from DiagramBase.)

ExpandButtonClicked

Raised when the user clicks the [+/-] button of an Expandable node. (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.)

LaneGridCellCreated

Raised when a lane grid's cell has been created to allow additional cusomtization of its presentation. (Inherited from DiagramBase.)

LaneGridHeaderCreated

Raised when a lane grid's header has been created to allow additional cusomtization of its presentation. (Inherited from DiagramBase.)

LeaveInplaceEditMode

Raised when leaving inplace-edit mode. (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.)

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

LinkModified

Raised when the user moves any control point of 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.)

LinkTextEdited

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

MagnifierFactorChanged

Occurs when the magnifier factor changes. (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.)

NodeCreated

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

NodeModified

Raised when the user moves or resizes 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.)

NodeTextEdited

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

Repaint

Raised when the diagram views should be repainted. (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 or resizes multiple selected items. (Inherited from DiagramBase.)

SelectionModifying

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

SerializeControl

Lets you save the attributes of controls hosted inside ControlNodes. (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.)

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

ValidateAnchorPoint

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

ZoomFactorChanged

Occurs when the zoom factor changes. (Inherited from DiagramBase.)

 See Also

Diagram Class
MindFusion.Diagramming Namespace