NetDiagram Programmer's Guide
AnchorPoint Members
Constructors Properties Methods
 


Specify the locations in a node, to which the user is allowed to connect links.

The following tables list the members exposed by the AnchorPoint type.

 Public Constructors

  Name Description

AnchorPoint

Overloaded. The following constructors are provided for creating new AnchorPoint objects.

 Public Properties

  Name Description

AllowIncoming

Gets or sets a value indicating whether incoming links can be connected to this anchor.

AllowOutgoing

Gets or sets a value indicating whether the anchor point accepts outgoing connections.

Color

Gets or sets the color of the anchor point mark.

Column

Gets or sets the column index of a cell with which the anchor point is associated.

MarkStyle

Gets or sets the appearance of the anchor point mark.

Tag

Gets or sets a user-defined data associated with the anchor point.

ToolTip

Gets or sets a tooltip text that should be displayed when the mouse hovers over an anchor point mark.

X

Gets or sets the horizontal position of the anchor point expressed as percent of a node's width.

XUnit

Gets or sets whether the point's X position is specified as percentage of node's size or fixed offset from the node's left side.

Y

Gets or sets the vertical position of the anchor point expressed as percent of a node's height.

YUnit

Gets or sets whether the point's Y position is specified as percentage of node's size or fixed offset from the node's top side.

 Public Methods

  Name Description

Clone

Creates an exact clone of this AnchorPoint object.

 Protected Methods

  Name Description

Draw

Renders the anchor point.

LoadFrom

Deserializes the object from the specified reader.

LoadFromJson

Deserializes the anchor point from JSON format.

LoadFromXml

Deserializes the anchor point from XML format.

SaveTo

Serializes the object to the specified writer.

SaveToJson

Serializes the anchor point in JSON format.

SaveToXml

Serializes the anchor point in XML format.

 See Also

AnchorPoint Class
MindFusion.Diagramming Namespace