Search
AnchorPattern Class
Remarks See Also
 





Represents a set of anchor points, which specify the exact locations where links are allowed to connect to nodes.

Namespace: MindFusion.Diagramming
Assembly: MindFusion.Diagramming

 Syntax

C#  Copy Code

public class AnchorPattern : ICloneable, IPersists

Visual Basic  Copy Code

Public Class AnchorPattern
    Implements ICloneable, IPersists

 Remarks

A pattern can be assigned as an integral entity to the AnchorPattern property of nodes. By default, when assigning a pattern to a node, a new copy of the pattern is created. Thus you can modify nodes' anchor patterns independently at runtime. However, if your anchor patterns won't change while the application executes, you can register them as shared to save storage space for the diagram. To do so, use AnchorPattern constructors that take a string id parameter. The AnchorPattern class exposes several predefined patterns as static properties; all of them are considered shared.

 Inheritance Hierarchy

System.Object
    MindFusion.Diagramming.AnchorPattern

 See Also