The IDiagramNode type exposes the following members.
Methods
Name | Description | |
---|---|---|
Clone |
Returns an IDiagramNodeState that holds current property values of this IDiagramNode
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 of this IDiagramNode to match those of the
given IDiagramNodeState.
|
Properties
Name | Description | |
---|---|---|
Bounds |
Gets or sets the display location and size of the diagram item.
(Inherited from IDiagramPositionable.) | |
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 points at which connections can attach to the IDiagramNode.
| |
Data |
Gets the data represented by the IDiagramConnectable, such as
a business object in the domain being diagrammed.
(Inherited from IDiagramConnectable.) | |
DefaultConnectionPoint |
Gets the connection point to be used if a connection is attached to the
node and no other connection point is specified.
| |
IsResizable |
Gets or sets whether the IDiagramPositionable can be resized.
(Inherited from IDiagramPositionable.) | |
Parent |
Gets the parent of the diagram item, if the item is part of a hierarchy.
(Inherited from IDiagramPositionable.) | |
Rotation |
Gets or sets the rotation of the IDiagramNode.
| |
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 | |
---|---|---|
BoundsChanged |
Raised when the Bounds property changes.
(Inherited from IDiagramPositionable.) | |
DataChanged |
Raised when the Data property changes.
(Inherited from IDiagramConnectable.) | |
RotationChanged |
Raised when the Rotation property changes.
|