New to Telerik UI for ASP.NET AJAX? Start a free 30-day trial

Defines the connections configuration.

Definition

Namespace:Telerik.Web.UI

Assembly:Telerik.Web.UI.dll

Syntax:

C#
public class DiagramConnection : StateManager, IMarkableStateManager, IStateManager

Inheritance: objectStateManagerDiagramConnection

Implements: IMarkableStateManagerIStateManager

Inherited Members StateManager.IsTrackingViewStateStateManager.ViewStateobject.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()object.GetType()object.MemberwiseClone()...

Constructors

C#
public DiagramConnection()

Properties

Defines the content configuration.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionContent ContentSettings { get; }

Enable connection editing

C#
public bool Editable { get; set; }

Specifies editable properties for connections

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionEditable EditableSettings { get; }

The end cap (arrow, head or decoration) of the connection.

C#
public ConnectionEndCap EndCap { get; set; }

The connection end cap configuration or type name.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public EndCap EndCapSettings { get; }

Specifies the name of the source shape connector that should be used by default.

C#
public string FromConnector { get; set; }

Defines the settings for the source shape.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionEndPoint FromSettings { get; }

The absolute point (X-coordinate), if any, that the connection is originating from.

C#
public double FromX { get; set; }

The absolute point (Y-coordinate), if any, that the connection is originating from.

C#
public double FromY { get; set; }

Defines the hover configuration.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionHover HoverSettings { get; }

The unique identifier for a Connection.

C#
public string Id { get; set; }

Sets the intermediate points (in global coordinates) of the connection.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public DiagramConnectionPointsCollection PointsCollection { get; }

Specifies if the connection can be selected.

C#
public bool Selectable { get; set; }

The start cap (arrow, head or decoration) of the connection.

C#
public ConnectionStartCap StartCap { get; set; }

The connection start cap configuration or type name.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public StartCap StartCapSettings { get; }

Defines the stroke configuration.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionStroke StrokeSettings { get; }

Specifies the name of the target shape connector that should be used by default.

C#
public string ToConnector { get; set; }

Defines the settings for the target shape.

C#
[PersistenceMode(PersistenceMode.InnerProperty)]
public ConnectionEndPoint ToSettings { get; }

The absolute point (X-coordinate), if any, that the connection is pointing to.

C#
public double ToX { get; set; }

The absolute point (Y-coordinate), if any, that the connection is pointing to.

C#
public double ToY { get; set; }

The type of the connection that defines the way it routes.

C#
public ConnectionType Type { get; set; }

Methods

C#
protected override void LoadViewState(object state)
Parameters:stateobject

Overrides: StateManager.LoadViewState(object)

C#
protected override object SaveViewState()
Returns:

object

Overrides: StateManager.SaveViewState()

C#
protected override void TrackViewState()

Overrides: StateManager.TrackViewState()