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

Kendo UI DiagramConnection class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

C#
public class DiagramConnection<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class

Inheritance: objectDiagramConnection<TShapeModel, TConnectionModel>

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

Constructors

C#
public DiagramConnection()

Properties

Defines accessibility options for the connection.

C#
public DiagramConnectionAccessibilitySettings<TShapeModel, TConnectionModel> Accessibility { get; }

Content

DiagramConnectionContentSettings<TShapeModel, TConnectionModel>

Defines the connection content settings.

C#
public DiagramConnectionContentSettings<TShapeModel, TConnectionModel> Content { get; }

Defines the corner radius of the connection.

C#
public double? CornerRadius { get; set; }

Serialize current instance to Dictionary

C#
public object DataItem { get; set; }

Diagram

Diagram<TShapeModel, TConnectionModel>

Diagram member.

C#
public Diagram<TShapeModel, TConnectionModel> Diagram { get; set; }

Editable

DiagramConnectionEditableSettings<TShapeModel, TConnectionModel>

Defines the shape editable options.

C#
public DiagramConnectionEditableSettings<TShapeModel, TConnectionModel> Editable { get; }

EndCap

DiagramConnectionEndCapSettings<TShapeModel, TConnectionModel>

The connection end cap configuration or type name.

C#
public DiagramConnectionEndCapSettings<TShapeModel, TConnectionModel> EndCap { get; }

From

DiagramConnectionFromSettings<TShapeModel, TConnectionModel>

Defines the source of the connection. You can set this property to a value matching a shape id or to an object with XY-coordinates.

C#
public DiagramConnectionFromSettings<TShapeModel, TConnectionModel> From { get; }

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

C#
public string FromConnector { get; set; }

Hover

DiagramConnectionHoverSettings<TShapeModel, TConnectionModel>

Defines the hover configuration.

C#
public DiagramConnectionHoverSettings<TShapeModel, TConnectionModel> Hover { get; }

Points

List<DiagramConnectionPoint<TShapeModel, TConnectionModel>>

Sets the intermediate points (in global coordinates) of the connection. These points cannot be manipulated by user action.

C#
public List<DiagramConnectionPoint<TShapeModel, TConnectionModel>> Points { get; set; }

Specifies if the connection can be selected.

C#
public bool? Selectable { get; set; }

Selection

DiagramConnectionSelectionSettings<TShapeModel, TConnectionModel>

Defines the connection selection configuration.

C#
public DiagramConnectionSelectionSettings<TShapeModel, TConnectionModel> Selection { get; }

StartCap

DiagramConnectionStartCapSettings<TShapeModel, TConnectionModel>

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

C#
public DiagramConnectionStartCapSettings<TShapeModel, TConnectionModel> StartCap { get; }

Stroke

DiagramConnectionStrokeSettings<TShapeModel, TConnectionModel>

Defines the stroke configuration.

C#
public DiagramConnectionStrokeSettings<TShapeModel, TConnectionModel> Stroke { get; }

To

DiagramConnectionToSettings<TShapeModel, TConnectionModel>

Defines the target of the connection. You can set this property to a value matching a shape id or to an object with XY-coordinates.

C#
public DiagramConnectionToSettings<TShapeModel, TConnectionModel> To { get; }

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

C#
public string ToConnector { get; set; }

The connection type.

C#
public DiagramConnectionType? Type { get; set; }

Methods

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>