The IDiagramConnection type exposes the following members.
Methods
Name | Description | |
---|---|---|
AddConnectionPoint |
Adds a connection point to this connection at an appropriate position derived from the given Point.
The newly created and added connection point is then returned.
| |
Clone |
Returns an IDiagramConnectionState that holds the property values of this
IDiagramConnection as it is at the time this method is called.
| |
GetCollisionBounds |
Returns the rectangle that is taken into consideration when a connection path is being constructed to the given
IDiagramConnectionPoint. Generally, an IDiagramNode should return its bounds, and an
IDiagramConnection should return a Rect with the position of the given IDiagramConnectionPoint
and a size of 0.
(Inherited from IDiagramConnectable.) | |
SetAs |
Sets all the properties within this IDiagramConnection to be like the properties
of the given IDiagramConnectionState.
|
Properties
Name | Description | |
---|---|---|
CanOriginateNewConnections |
Gets whether any more connections can begin at this IDiagramConnectable at all.
(Inherited from IDiagramConnectable.) | |
CanReceiveNewConnections |
Gets whether any more connections can end at this IDiagramConnectable at all.
(Inherited from IDiagramConnectable.) | |
ConnectionPoints |
Gets the collection of IDiagramConnectionPoint objects that are currently attached to this IDiagramConnection.
| |
Data |
Gets the data represented by the IDiagramConnectable, such as
a business object in the domain being diagrammed.
(Inherited from IDiagramConnectable.) | |
Diagram |
Gets or sets the IDiagramModel that the connection belongs to.
| |
FromConnectionPoint |
Gets the source of the IDiagramConnection.
| |
IsUserModified |
Gets or sets whether this IDiagramConnection has been user modified or not.
A user modified connection is one that has had one or more of its DiagramConnectionSegment
objects positioned by a user.
| |
Pathfinder |
Gets the IPathfinder used to find the segment path for this IDiagramConnection.
| |
Segments |
Returns the collection of DiagramConnectionSegment objects that make up this IDiagramConnection.
| |
ToConnectionPoint |
Gets the destination of the IDiagramConnection.
| |
ZOrder |
Gets or sets the relative z-order of the diagram item. Lower z-orders appear
behind higher z-orders.
(Inherited from IDiagramZOrderable.) |
Events
Name | Description | |
---|---|---|
DataChanged |
Raised when the Data property changes.
(Inherited from IDiagramConnectable.) |