Search
DiagramLink Methods
 


 Public Methods

  Name Description

AddLabel

Overloaded. Adds a label to this link.

AlignPoints

Arranges the middle points of polyline and bezier links so that they are evenly spaces between the link's end points.

Clone

Creates a copy of this link.

ContainsPoint

Overloaded. DiagramItem.ContainsPoint override.

Draw

Draws the link on the specified IGraphics surface.

DrawArrowhead

Draws an arrowhead shape.

DrawHandles

DiagramItem.DrawHandles override.

DrawShadow

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

GetBounds

DiagramItem.GetBounds override.

GetLongestHSegment

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

GetOutlinePoly

DiagramItem.GetOutlinePoly override.

GetRepaintRect

DiagramItem.GetRepaintRect override.

GetRotatedBounds

DiagramItem.GetRotatedBounds override.

HitTest

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

HitTestHandle

DiagramItem.HitTestHandle override.

Intersects

Overloaded. Checks whether this link intersects with the specified link.

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

OnLoad

DiagramItem.OnLoad override.

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 connection points of this link.

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

CreateProperties

DiagramItem.CreateProperties override.

CreateState

DiagramItem.CreateState override.

DrawManipulators

Overloaded. Draws the associated manipulators on a specified graphics. (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.)

HandleTap

Invoked when the user releases his finger over this item. (Inherited from DiagramItem.)

LoadFromJson

Loads the link content from a JsonObject.

LoadFromXml

Loads the link content from an XML element.

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

OnFontChanged

DiagramItem.OnFontChanged override.

OnMeasureUnitChanged

Called when the Diagram's MeasureUnit changes.

OnPropertyChanged

DiagramItem.OnPropertyChanged override.

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.

OnZoomChanged

Called when the MindFusion.Diagramming for .NET MAUI's ZoomFactor changes. (Inherited from DiagramItem.)

RaiseClicked

Raises an event which notifies that a link has been clicked.

RemoveManipulator

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

Repaint

Overloaded. Repaints the specified region of the diagram. (Inherited from DiagramItem.)

RestoreProperties

DiagramItem.RestoreProperties override.

RestoreState

DiagramItem.RestoreState override.

SaveProperties

DiagramItem.SaveProperties override.

SaveState

DiagramItem.SaveState override.

SaveToJson

Saves the link content into a JsonObject.

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

 See Also