Search
DiagramBase.OriginAnchorChanged Event
See Also
 





Raised when the OriginAnchor property value of a link has changed.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public event EventHandler<AnchorPointEventArgs> OriginAnchorChanged

Visual Basic  Copy Code

Public Event OriginAnchorChanged As EventHandler(Of AnchorPointEventArgs)

 Event Data

OriginAnchorChanged event handlers receive an argument of type AnchorPointEventArgs. The following AnchorPointEventArgs members provide information relevant to the event:

Member name

Description

Link

The DiagramLink whose OriginAnchor has changed.

OldAnchorIndex

Index of the old anchor point.

NewAnchorIndex

Index of the new anchor point.

 Remarks

This event is raised every time the OriginAnchor property of a link changes, either because a user connects the link end to a different anchor point, or because an application sets it programmatically.

 See Also