InterfaceIConnector
Represents a connector point of a shape.
Definition
Namespace:Telerik.Windows.Diagrams.Core
Assembly:Telerik.Windows.Diagrams.Core.dll
Syntax:
public interface IConnector : ISupportMouseOver, ICloneable, ISerializable
Inherited Members
Properties
AbsolutePosition
Gets the absolute or actual position of the connector with respect to the diagramming surface.
Declaration
Point AbsolutePosition { get; }
Property Value
Point
IsActive
Gets or sets a value indicating whether this instance is active.
Declaration
bool IsActive { get; set; }
Property Value
True if this instance is active; otherwise, false.
Name
Gets the name of the connector.
Declaration
string Name { get; set; }
Property Value
Remarks
This name is supposedly unique across a shape since it's used to access a connector.
Offset
Gets or sets the offset of the top-left corner of the shape. Its value range from 0 to 1.
Declaration
Point Offset { get; set; }
Property Value
Point
The offset.
Methods
CalculateRelativePosition(Size)
Calculates the relative position of the connector.
Declaration
Point CalculateRelativePosition(Size shapeSize)
Parameters
shapeSize
Size
Size of the shape.
Returns
Point