The MovableDiagramConnectionSegment type exposes the following members.

Constructors

  NameDescription
MovableDiagramConnectionSegmentOverloaded.

Methods

  NameDescription
Clone
Returns a deep clone of this DiagramConnectionSegment.
(Inherited from DiagramConnectionSegment.)
GetClosestPointTo
Returns the Point that lies on this DiagramConnectionSegment that is the closest point to the given one. The returned Point will have integer precision values.
(Inherited from DiagramConnectionSegment.)
MoveHorizontally
Changes the x value of the start and end points of this MovableDiagramConnectionSegment by the given value.
MoveVertically
Changes the y value of the start and end points of this MovableDiagramConnectionSegment by the given value.
RecalculateLayoutProperties
Calculates and sets the appropriate values for the Midpoint, IsHorizontal, and IsVertical properties.
(Inherited from DiagramConnectionSegment.)
SetEndPointNoNotify
Just sets the end point of this DiagramConnectionSegment without raising any property changed events.
(Inherited from DiagramConnectionSegment.)
SetHorizontal
Sets the y value of the start and end points to be the given value thus making this MovableDiagramConnectionSegment horizontal.
SetStartPointNoNotify
Just sets the start point of this DiagramConnectionSegment to be the given point without raising any property changed events. If the previous segment is null, then the end point of this segment will be set to be the given point instead.
(Inherited from DiagramConnectionSegment.)
SetVertical
Sets the x value of the start and end points to be the given value thus making this MovableDiagramConnectionSegment vertical.
ShallowClone
Returns a shallow clone of this MovableDiagramConnectionSegment.
(Overrides DiagramConnectionSegment..::.ShallowClone()()().)

Properties

  NameDescription
Connection
Gets the IDiagramConnection that the segment belongs to.
(Inherited from DiagramConnectionSegment.)
EndPoint
Gets or sets the end point of this DiagramConnectionSegment. Note that this value is also used for the start point of the next segment to this one.
(Inherited from DiagramConnectionSegment.)
IsHorizontal
Gets whether the segment is horizontal. True if this DiagramConnectionSegment is horizontal. False otherwise. This DiagramConnectionSegment is horizontal if the y values of the start and end points are both the same. This is a dependency property.
(Inherited from DiagramConnectionSegment.)
IsVertical
Gets the whether the segment is vertical. This is a dependency property.
(Inherited from DiagramConnectionSegment.)
Length
Returns the length of this DiagramConnectionSegment in double precision/>
(Inherited from DiagramConnectionSegment.)
Midpoint
Gets the midpoint of this DiagramConnectionSegment. This is a dependency property.
(Inherited from DiagramConnectionSegment.)
NextSegment
Gets or sets the DiagramConnectionSegment that comes next in a chain of segments. Setting this property also makes sure that the previous segment of the set one is set to be this segment.
(Inherited from DiagramConnectionSegment.)
PreviousSegment
Gets or sets the DiagramConnectionSegment that comes previously before this one in a chain of segments. Setting this property alse makes sure that the next segment of the set one is set to be this segment.
(Inherited from DiagramConnectionSegment.)
StartPoint
Gets or sets the end point of the previous DiagramConnectionSegment to this one. If this DiagramConnectionSegment does not have a previous segment, then the start point of this DiagramConnectionSegment is its end point.
(Inherited from DiagramConnectionSegment.)

See Also