New to Telerik UI for WinFormsStart a free 30-day trial

IConnector

Interface

Represents a connector point of a shape.

Definition

Namespace:Telerik.Windows.Diagrams.Core

Assembly:Telerik.WinControls.RadDiagram.dll

Syntax:

C#
public interface IConnector : ISupportMouseOver, ICloneable, ISerializable

Derived Classes: RadDiagramConnector

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

Properties

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

C#
Point AbsolutePosition { get; }

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

C#
bool IsActive { get; set; }
Property Value:

True if this instance is active; otherwise, false.

Gets the name of the connector.

C#
string Name { get; set; }
Remarks:

This name is supposedly unique across a shape since it's used to access a connector.

Gets or sets the offset of the top-left corner of the shape. Its value range from 0 to 1.

C#
Point Offset { get; set; }
Property Value:

The offset.

Gets the shape to which this connector belongs.

C#
IShape Shape { get; }

Methods

Calculates the relative position of the connector.

C#
Point CalculateRelativePosition(Size shapeSize)
Parameters:shapeSizeSize

Size of the shape.

Returns:

Point

Extension Methods