Kendo UI DiagramConnection class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramConnection<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramConnection<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramConnection()
Properties
Accessibility
DiagramConnectionAccessibilitySettings<TShapeModel, TConnectionModel>
Defines accessibility options for the connection.
public DiagramConnectionAccessibilitySettings<TShapeModel, TConnectionModel> Accessibility { get; }
Content
DiagramConnectionContentSettings<TShapeModel, TConnectionModel>
Defines the connection content settings.
public DiagramConnectionContentSettings<TShapeModel, TConnectionModel> Content { get; }
Defines the corner radius of the connection.
public double? CornerRadius { get; set; }
Diagram member.
public Diagram<TShapeModel, TConnectionModel> Diagram { get; set; }
Editable
DiagramConnectionEditableSettings<TShapeModel, TConnectionModel>
Defines the shape editable options.
public DiagramConnectionEditableSettings<TShapeModel, TConnectionModel> Editable { get; }
EndCap
DiagramConnectionEndCapSettings<TShapeModel, TConnectionModel>
The connection end cap configuration or type name.
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.
public DiagramConnectionFromSettings<TShapeModel, TConnectionModel> From { get; }
Specifies the name of the source shape connector that should be used by the connection.
public string FromConnector { get; set; }
Hover
DiagramConnectionHoverSettings<TShapeModel, TConnectionModel>
Defines the hover configuration.
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.
public List<DiagramConnectionPoint<TShapeModel, TConnectionModel>> Points { get; set; }
Specifies if the connection can be selected.
public bool? Selectable { get; set; }
Selection
DiagramConnectionSelectionSettings<TShapeModel, TConnectionModel>
Defines the connection selection configuration.
public DiagramConnectionSelectionSettings<TShapeModel, TConnectionModel> Selection { get; }
StartCap
DiagramConnectionStartCapSettings<TShapeModel, TConnectionModel>
The start cap (arrow, head or decoration) of the connection.
public DiagramConnectionStartCapSettings<TShapeModel, TConnectionModel> StartCap { get; }
Stroke
DiagramConnectionStrokeSettings<TShapeModel, TConnectionModel>
Defines the stroke configuration.
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.
public DiagramConnectionToSettings<TShapeModel, TConnectionModel> To { get; }
Specifies the name of the target shape connector that should be used by the connection.
public string ToConnector { get; set; }
The connection type.
public DiagramConnectionType? Type { get; set; }
Methods
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()