The DiagramConnectionElement type exposes the following members.

Constructors

  NameDescription
DiagramConnectionElement

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.

Fields

  NameDescription
BottomProperty
Identifies the Bottom property.
ConnectionContentTemplateSelectorProperty
Identifies the ConnectionContentTemplateSelector property.
EndArrowTemplateProperty
Identifies the EndArrowTemplate property.
FromConnectionPointProperty
Identifies the FromConnectionPoint property.
IsRequestingConnectionPointProperty
Identifies the IsRequestingConnectionPoint property.
LeftProperty
Identifies the Left property.
PathBuilderProperty
Identifies the PathBuilder property.
PathGeometryProperty
Identifies the PathGeometry property.
PathStyleProperty
Identifies the PathStyle property.
RequestedConnectionPointProperty
Identifies the RequestedConnectionPoint property.
RightProperty
Identifies the Left property.
SegmentEndBufferProperty
Identifies the SegmentEndBuffer property.
StartArrowTemplateProperty
Identifies the StartArrowTemplate property.
ToConnectionPointProperty
Identifies the ToConnectionPoint property.
TopProperty
Identifies the Top property.

Properties

  NameDescription
Bottom
Gets the the vertical offset of the bottom of this DiagramConnectionElement from the top of the diagram. This is a dependency property.
Bounds
Gets the bounds of the DiagramConnectionElement.
(Overrides DiagramElement..::.Bounds.)
Connection
Gets the IDiagramConnection represented by this DiagramConnectionElement.
ConnectionContentTemplateSelector
Gets or sets the DataTemplateSelector used to the select the DataTemplate for displaying the data within the IDiagramConnection. This is a dependency property.
ConnectionPointTemplateSelector
Gets or sets the DataTemplateSelector used to select the template for connection points. This is a dependency property.
(Inherited from DiagramElement.)
EndArrowTemplate
Gets or sets the DataTemplate applied to the end of the connection. This is a dependency property.
FromConnectionPoint
Gets or sets the point from which the connection originates. This is a dependency property.
IsRequestingConnectionPoint
Gets whether a connection point position is being requested (the user is dragging a connection close to this one and the framework wishes to display a potential connection point). This is a dependency property.
LayerKeyCore
Gets an object identifying the layer on which to display this element. For a DiagramConnectionElement, this is the parent of the originating node.
(Overrides DiagramElement..::.LayerKeyCore.)
Left
Gets the the horizontal offset of the DiagramConnectionElement from the left hand side of the diagram. This is a dependency property.
MovableSegments
Returns an IList of all the MovableDiagramConnectionSegment objects that make up the IDiagramConnection that this DiagramConnectionElement graphically represents.
PathBuilder
Gets or sets the IPathBuilder used to create the path geometry for this connection. This is a dependency property.
PathGeometry
Gets the PathGeometry of this DiagramConnectionElement. This is a dependency property.
PathStyle
Gets or sets the Style applied to the connection path. This is a dependency property.
RequestedConnectionPoint
Gets the RequestedConnectionPoint. The requested connection point is a point on one of the DiagramConnectionSegment objects of this DiagramConnectionElement of which is a potential place for a connection to be connected to. This is a dependency property.
Right
Gets the the horizontal offset of the right hand side of this DiagramConnectionElement from the left hand side of the diagram. This is a dependency property.
SegmentEndBuffer
Gets or sets the buffer at each end of a DiagramConnectionSegment that can not have an IDiagramConnectionPoint attached to it. This is a dependency property.
StartArrowTemplate
Gets or sets the DataTemplate applied to the start of the connection.. This is a dependency property.
ToConnectionPoint
Gets or sets the point to which the connection goes. This is a dependency property.
Top
Gets the the vertical offset of the DiagramConnectionElement from the top of the diagram. This is a dependency property.
ZIndexLayer
Gets how the DiagramElement participates in the z-order.
(Overrides DiagramElement..::.ZIndexLayer.)

See Also