Interface
IConnector

Represents a connector point of a shape.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.Windows.Diagrams.Core.dll

Syntax:

cs-api-definition
public interface IConnector : ISupportMouseOver, ICloneable, ISerializable

Inherited Members ISupportMouseOver.IsMouseOverICloneable.Clone()ISerializable.Serialize()ISerializable.Deserialize(SerializationInfo)

Properties

AbsolutePosition

Gets the absolute or actual position of the connector with respect to the diagramming surface.

Declaration

cs-api-definition
Point AbsolutePosition { get; }

Property Value

Point

IsActive

Gets or sets a value indicating whether this instance is active.

Declaration

cs-api-definition
bool IsActive { get; set; }

Property Value

bool

True if this instance is active; otherwise, false.

Name

Gets the name of the connector.

Declaration

cs-api-definition
string Name { get; set; }

Property Value

string

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

cs-api-definition
Point Offset { get; set; }

Property Value

Point

The offset.

Shape

Gets the shape to which this connector belongs.

Declaration

cs-api-definition
IShape Shape { get; }

Property Value

IShape

Methods

CalculateRelativePosition(Size)

Calculates the relative position of the connector.

Declaration

cs-api-definition
Point CalculateRelativePosition(Size shapeSize)

Parameters

shapeSize

Size

Size of the shape.

Returns

Point

Extension Methods