Search
DiagramLink Methods
 


 Public Methods

  Name Description

AddLabel

Overloaded. Adds a label to this link.

Animate

Animates the item. (Inherited from DiagramItem.)

Clone

Creates a copy of this link.

ContainsPoint

Overloaded.  

Dispose

Overloaded.   (Inherited from DiagramItem.)

DoModify

For internal use. (Inherited from DiagramItem.)

Draw

Draws the link on the specified IGraphics surface.

DrawArrowhead

Draws an arrowhead shape.

DrawHandles

DiagramItem.DrawHandles override. Renders the adjustment handles of this item.

DrawShadow

Draws the shadow of this link on the specified IGraphics surface.

GetBounds

Overloaded.  

GetEffectiveBrush

Creates a Brush object representing the currently effective brush of the item. (Inherited from DiagramItem.)

GetEffectiveHeadPen

Returns a Pen object representing the currently effective head pen of the link.

GetEffectivePen

Returns a Pen object representing the currently effective pen of the item. (Inherited from DiagramItem.)

GetEffectiveShadowBrush

Returns a Brush object representing the currently effective shadow brush of the item. (Inherited from DiagramItem.)

GetEffectiveTextBrush

Returns a Brush object representing the currently effective text brush of the item. (Inherited from DiagramItem.)

GetLongestHSegment

Returns the index of the longest horizontal segment of this link.

GetOutlinePoly

DiagramItem.GetOutlinePoly override.

GetRepaintRect

DiagramItem.GetRepaintRect override.

GetRotatedBounds

DiagramItem.GetRotatedBounds override.

GetToolTip

Gets the tooltip that should be displayed for this item at the specified point. (Inherited from DiagramItem.)

HitTest

Returns the diagram item that contains the specified point. (Inherited from DiagramItem.)

HitTestHandle

DiagramItem.HitTestHandle override. Determines whether a selection handle of this item is located at the specified point.

HitTestManipulators

Finds the Manipulator object located at the specified point. (Inherited from DiagramItem.)

Intersects

Overloaded.  

LabelFromPoint

Returns the label whose layout rectangle contains the specified point.

NotInteractive

Gets whether the user is prevented from manipulating this item. (Inherited from DiagramItem.)

NowModifying

Gets a flag indicating whether this object is being currently modified interactively by the user. (Inherited from DiagramItem.)

OnLoad

DiagramItem.OnLoad override.

Query

Returns the items that can be reached from this item by following the path specified in the given query expression. (Inherited from DiagramItem.)

ReassignAnchorPoints

Attaches the link end points to the anchor points defined for the link's origin and destination nodes.

RemoveLabel

Removes the specified label from this link.

RestoreItemProperties

For internal use. (Inherited from DiagramItem.)

Route

Routes this link, regardless of whether the link's AutoRoute flag is enabled.

SaveItemProperties

For internal use. (Inherited from DiagramItem.)

SetOrgAndDest

Sets the origin and destination links of this link.

UpdateAnimation

Invoked by running animations to update an item according to current animation progress.

UpdateFromPoints

Overloaded. Updates the link's internal state after the link's control points have been changed.

UpdateIntersections

Aligns the link ends to the contour of the nodes it connects.

ZBottom

Moves the item to the bottom of the z-order. (Inherited from DiagramItem.)

ZLevelDown

Moves the item one level down in the z-order. (Inherited from DiagramItem.)

ZLevelUp

Moves the item one level up in the z-order. (Inherited from DiagramItem.)

ZTop

Moves the item to the top of the z-order. (Inherited from DiagramItem.)

 Protected Methods

  Name Description

AddManipulator

Adds the specified manipulator to this object. (Inherited from DiagramItem.)

AllowCreate

DiagramItem.AllowCreate override.

AllowModify

DiagramItem.AllowModify override.

CancelModify

DiagramItem.CancelModify override.

CompleteCreate

DiagramItem.CompleteCreate override.

CompleteModify

DiagramItem.CompleteModify override.

CreateProperties

DiagramItem.CreateProperties override.

CreateState

DiagramItem.CreateState override.

DrawManipulators

Overloaded. Draws the associated manipulators on a specified graphics. (Inherited from DiagramItem.)

Finalize

DiagramItem finalizer. (Inherited from DiagramItem.)

FreeResources

Called when the item is completely disassociated from a Diagram, that is, when it is no longer referenced from an item collection or the undo/redo history. (Inherited from DiagramItem.)

GetValue

Gets the effective value of the style property with the specified name. (Inherited from DiagramItem.)

LoadFromJson

Loads the link from a JSON object.

LoadFromXml

Loads the link content from an XML element.

LoadObsolete

For internal use. (Inherited from DiagramItem.)

OnAdd

Called when the item is added to a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.)

OnChildModified

Called when a group child node has been modified. (Inherited from DiagramItem.)

OnClick

Invoked when the user clicks this item. (Inherited from DiagramItem.)

OnDoubleClick

Invoked when the user double-clicks this item. (Inherited from DiagramItem.)

OnMeasureUnitChanged

Called when the Diagram's MeasureUnit changes.

OnModify

Invoked when the user moves any control point of the link.

OnRemove

Called when an item is removed from a Diagram, either by the user, programmatically or via undo / redo. (Inherited from DiagramItem.)

OnStyleChanged

Diagramitem.OnStyleChanged override.

OnTextChanged

DiagramItem.OnTextChanged override.

OnTextFormatChanged

Called when the value of the TextFormat property changes. (Inherited from DiagramItem.)

OnZoomChanged

Called when the diagram's ZoomFactor changes. (Inherited from DiagramItem.)

RemoveManipulator

Removes the specified manipulator from the object. (Inherited from DiagramItem.)

Repaint

Overloaded.   (Inherited from DiagramItem.)

RestoreProperties

DiagramItem.RestoreProperties override.

RestoreState

DiagramItem.RestoreState override.

SaveProperties

DiagramItem.SaveProperties override.

SaveState

DiagramItem.SaveState override.

SaveToJson

Saves the link as a JSON object.

SaveToXml

Saves the link content into an XML element.

SetDiagramDirty

Marks the diagram as changed. (Inherited from DiagramItem.)

SetExpanded

Sets whether the item is in expanded or collapsed state. (Inherited from DiagramItem.)

ShouldRender

Determines whether the item should be rendered in the current context. (Inherited from DiagramItem.)

StartCreate

DiagramItem.StartCreate override.

StartModify

DiagramItem.StartModify override. Invoked when the user starts modifying this item interactively.

UpdateCreate

DiagramItem.UpdateCreate override.

UpdateGroup

Called to update the positions of subordinate nodes attached to this item when the attachment style is set to ControlledByMaster. (Inherited from DiagramItem.)

UpdateModify

DiagramItem.UpdateModify override.

 See Also