ConnectorPosition
Predefined positions of a connector in a shape.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.WinControls.RadDiagram.dll
Syntax:
public static class ConnectorPosition
Inheritance: objectConnectorPosition
Fields
The connection is bound to the bottom of the shape.
public const string Bottom = "Bottom"
The connection glides along the edge of the shape.
public const string Gliding = "Gliding"
This connector does not have a relative position on the shape or absolute position with respect to the surface.
The connection is bound to the right of the shape.
public const string Right = "Right"
Methods
Gets the known offset.
public static Point GetKnownOffset(string name)
The name of a connector.
Returns:The offset with respect to the shape. If the connector is not a known connector an exception will be thrown.
Note that the gliding connector return double.NaN since it's not located anywhere on the shape but rather spread among the edge of it.
Determines whether the specified connector is custom.
public static bool IsCustom(this IConnector connector)
The connector.
Returns:true if the specified connector is custom; otherwise, false.