DiagramLite Programmer's Guide
DiagramBase Members
Constructors Methods Events
 


The base class of the Diagram and DiagramDocument classes.

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

 Protected Constructors

  Name Description

DiagramBase

Initializes a new instance of the DiagramBase class.

 Protected Methods

  Name Description

OnActionRedone

Raises the ActionRedone event.

OnActionUndone

Raises the ActionUndone event.

OnBoundsChanged

Raises the BoundsChanged event.

OnCellClicked

Raises the CellClicked event.

OnCellDoubleClicked

Raises the CellDoubleClicked event.

OnClicked

Raises the Clicked event.

OnContainerChildAdded

Raises the ContainerChildAdded event.

OnContainerChildRemoved

Raises the ContainerChildRemoved event.

OnContainerFolded

Raises the ContainerFolded event.

OnContainerUnfolded

Raises the ContainerUnfolded event.

OnDeserializeControl

Raises the DeserializeControl event.

OnDeserializeTag

Raises the DeserializeTag event.

OnDoubleClicked

Raises the DoubleClicked event.

OnDrawAdjustmentHandles

Raises the DrawAdjustmentHandles event.

OnEnterInplaceEditMode

Raises the EnterInplaceEditMode event.

OnExpandButtonClicked

Raises the ExpandButtonClicked event.

OnHitTestAdjustmentHandles

Raises the HitTestAdjustmentHandles event.

OnInitializeLink

Raises the InitializeLink event.

OnInitializeNode

Raises the InitializeNode event.

OnItemAdded

Raises the ItemAdded event.

OnItemRemoved

Raises the ItemRemoved event.

OnLaneGridCellCreated

Raises the LaneGridCellCreated event.

OnLaneGridHeaderCreated

Raises the LaneGridHeaderCreated event.

OnLeaveInplaceEditMode

Raises the LeaveInplaceEditMode event.

OnLinkActivated

Raises the LinkActivated event.

OnLinkClicked

Raises the LinkClicked event.

OnLinkCreated

Raises the LinkCreated event.

OnLinkCreating

Raises the LinkCreating event.

OnLinkDeactivated

Raises the LinkDeactivated event.

OnLinkDeleted

Raises the LinkDeleted event.

OnLinkDeleting

Raises the LinkDeleting event.

OnLinkDeselected

Raises the LinkDeselected event.

OnLinkDoubleClicked

Raises the LinkDoubleClicked event.

OnLinkModified

Raises the LinkModified event.

OnLinkModifying

Raises the LinkModifying event.

OnLinkPasted

Raises the LinkPasted event.

OnLinkRouted

Raises the LinkRouted event.

OnLinkSelected

Raises the LinkSelected event.

OnLinkTextEdited

Raises the LinkTextEdited event.

OnMagnifierFactorChanged

Raises the MagnifierFactorChanged event.

OnMeasureUnitChanged

Raises the MeasureUnitChanged event.

OnNodeActivated

Raises the NodeActivated event.

OnNodeClicked

Raises the NodeClicked event.

OnNodeCreated

Raises the NodeCreated event.

OnNodeCreating

Raises the NodeCreating event.

OnNodeDeactivated

Raises the NodeDeactivated event.

OnNodeDeleted

Raises the NodeDeleted event.

OnNodeDeleting

Raises the NodeDeleting event.

OnNodeDeselected

Raises the NodeDeselected event.

OnNodeDoubleClicked

Raises the NodeDoubleClicked event.

OnNodeModified

Raises the NodeModified event.

OnNodeModifying

Raises the NodeModifying event.

OnNodePasted

Raises the NodePasted event.

OnNodeSelected

Raises the NodeSelected event.

OnNodeTextEdited

Raises the NodeTextEdited event.

OnRepaint

Raises the Repaint event.

OnSelectionChanged

Raises the SelectionChanged event.

OnSelectionModified

Raises the SelectionModified event.

OnSelectionModifying

Raises the SelectionModifying event.

OnSerializeControl

Raises the SerializeControl event.

OnSerializeTag

Raises the SerializeTag event.

OnSetSelfLoopShape

Raises the SetSelfLoopShape event.

OnTreeCollapsed

Raises the TreeCollapsed event.

OnTreeExpanded

Raises the TreeExpanded event.

OnValidateAnchorPoint

Raises the ValidateAnchorPoint event.

OnZoomFactorChanged

Raises the ZoomFactorChanged event.

 Public Events

  Name Description

ActionRedone

Raised when an action is redone.

ActionUndone

Raised when an action is undone.

ActiveLayerChanged

Raised when the diagram's active layer has changed.

BoundsChanged

Raised when the Bounds property value has changed.

CellClicked

Raised when the user clicks a table's cell.

CellDoubleClicked

Raised when the user double-clicks a table's cell.

Clicked

Raised when the user clicks the diagram at a point where no items are located.

ContainerChildAdded

Raised when a node is added to a ContainerNode, either programmatically or by the user.

ContainerChildRemoved

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

ContainerFolded

Raised when the user folds a container by clicking the arrow-up button in the container's caption area.

ContainerUnfolded

Raised when the user unfolds a container by clicking the arrow-down button in the container's caption area.

DeserializeControl

Lets you load the attributes of controls hosted inside ControlNodes.

DeserializeTag

Raised when the Tag or Id of a diagram item must be deserialized from XML format.

DoubleClicked

Raised when the user double-clicks the diagram at a point where no items are located.

DrawAdjustmentHandles

Raised when item's adjustment handles must be custom drawn.

EnterInplaceEditMode

Raised when entering inplace-edit mode.

ExpandButtonClicked

Raised when the user clicks the [+/-] button of an Expandable node.

HitTestAdjustmentHandles

Raised when custom hit testing of item's adjustment handles must be performed.

InitializeLink

Raised when the user starts drawing a new link, just after the DiagramLink instance is created.

InitializeNode

Raised when the user starts drawing a new node, just after the DiagramNode instance is created.

ItemAdded

Raised when an item is added to the diagram, either programmatically or interactively.

ItemRemoved

Raised when an item is removed from the diagram, either programmatically or interactively.

LaneGridCellCreated

Raised when a lane grid's cell has been created to allow additional cusomtization of its presentation.

LaneGridHeaderCreated

Raised when a lane grid's header has been created to allow additional cusomtization of its presentation.

LeaveInplaceEditMode

Raised when leaving inplace-edit mode.

LinkActivated

Raised when a link becomes the ActiveItem.

LinkClicked

Raised when the user clicks a link.

LinkCreated

Raised when the user draws a new link.

LinkCreating

A validation event raised while the user is drawing a new link.

LinkDeactivated

Raised when a link is no longer the ActiveItem.

LinkDeleted

Raised when a link is deleted, either programmatically or by the user.

LinkDeleting

Raised when the user tries to delete a link, this event lets you cancel the operation.

LinkDeselected

Raised when a link is deselected, either programmatically or by the user.

LinkDoubleClicked

Raised when the user double-clicks a link.

LinkModified

Raised when the user moves any control point of a link.

LinkModifying

A validation event raised while the user is modifying a link.

LinkPasted

Raised when a link has been pasted from the clipboard.

LinkRouted

Raised when a link is routed by the auto-routing algorithm.

LinkSelected

Raised when a link is selected, either programmatically or by the user.

LinkTextEdited

Raised when the user edits the text of a link.

MagnifierFactorChanged

Occurs when the magnifier factor changes.

MeasureUnitChanged

Raised when the MeasureUnit property value has changed.

NodeActivated

Raised when a node becomes the ActiveItem.

NodeClicked

Raised when the user clicks a node.

NodeCreated

Occurs when the user draws a new node.

NodeCreating

A validation event raised while the user is drawing a new node.

NodeDeactivated

Raised when a node is no longer the ActiveItem.

NodeDeleted

Raised when a node is deleted, either programmatically or by the user.

NodeDeleting

Raised when the user tries to delete a node, this event lets you cancel the operation.

NodeDeselected

Raised when a node is deselected, either programmatically or by the user.

NodeDoubleClicked

Raised when the user double-clicks a node.

NodeModified

Raised when the user moves or resizes a node.

NodeModifying

A validation event raised while the user is moving or resizing a node.

NodePasted

Raised when a node has been pasted from the clipboard.

NodeSelected

Raised when a node is selected, either programmatically or by the user.

NodeTextEdited

Raised when the user edits the text of a node.

Repaint

Raised when the diagram views should be repainted.

SelectionChanged

Raised when an item is added to or removed from the selection.

SelectionModified

Raised when the user moves or resizes multiple selected items.

SelectionModifying

Raised while the user is moving or resizing multiple selected items, this event lets you cancel the modification.

SerializeControl

Lets you save the attributes of controls hosted inside ControlNodes.

SerializeTag

Raised when the Tag of a diagram item must be serialized into an XML document.

SetSelfLoopShape

Raised when a link becomes a self-loop, giving you a chance to override the default look shape.

TreeCollapsed

Raised when a user collapses a tree branch by clicking the [-] button of an Expandable node.

TreeExpanded

Raised when a user expands a tree branch by clicking the [+] button of an Expandable node.

ValidateAnchorPoint

A validation event that lets you approve or reject connecting a link to an anchor point.

ZoomFactorChanged

Occurs when the zoom factor changes.

 See Also

DiagramBase Class
MindFusion.Diagramming Namespace