The DiagramConnectionElement type exposes the following members.

Methods

  NameDescription
GetStyleSelector
Gets the StyleSelector applicable to this type of element.
(Overrides DiagramElement..::.GetStyleSelector(IDiagramFormatter).)
MoveBy
Moves the DiagramElement by the specified amounts. Diagram elements which are not independently positioned will ignore this call.
(Inherited from DiagramElement.)
OnApplyFormatting
Applies additional formatting beyond the template and style selectors.
(Overrides DiagramElement..::.OnApplyFormatting(DiagramSurface).)
OnConnectionDragEnter
Called when a ConnectionPointThumb is being dragged over the element.
(Overrides DiagramElement..::.OnConnectionDragEnter(Nullable<(Of <(Point>)>), IDiagramConnectionPoint).)
OnConnectionDragLeave
Called when a ConnectionPointThumb that was being dragged over the element is dragged away from the element.
(Overrides DiagramElement..::.OnConnectionDragLeave()()().)
OnContentChanged
Called when the Content changes.
(Overrides DiagramElement..::.OnContentChanged(Object, Object).)
OnMouseLeave
Called when the mouse leaves this DiagramConnectionElement.
(Overrides ListBoxItem..::.OnMouseLeave(MouseEventArgs).)
OnMouseMove
Called when the mouse moves over this DiagramConnectionElement.
(Overrides UIElement..::.OnMouseMove(MouseEventArgs).)
OnMoveBy
Implements the MoveBy(Double, Double) method. This is a no-op for DiagramConnectionElement because connections are not independently positioned.
(Overrides DiagramElement..::.OnMoveBy(Double, Double).)
OnPreviewMouseDown
Called when the mouse is pressed over this element.
(Inherited from DiagramElement.)
SetRequestedConnectionPoint
Sets the RequestedConnectionPoint property to be a point on one of the DiagramConnectionSegment objects of this DiagramConnectionElement that is closest to the given Point. The actual value that is set is then returned.

See Also