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

Kendo UI DiagramShapeConnector class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramShapeConnector<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 DiagramShapeConnector()

Properties

The connector description.

C#
public string Description { get; set; }

Diagram

Diagram<TShapeModel, TConnectionModel>

Diagram member.

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

Fill

DiagramShapeConnectorFillSettings<TShapeModel, TConnectionModel>

Defines the fill options of the shape connectors.

C#
public DiagramShapeConnectorFillSettings<TShapeModel, TConnectionModel> Fill { get; }

Defines the height of the shape connectors.

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

Hover

DiagramShapeConnectorHoverSettings<TShapeModel, TConnectionModel>

Defines the hover configuration of the shape connectors.

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

The connector name. The predefined names are: "top" - top connector; "right" - right connector; "bottom" - bottom connector; "bottomRight" - bottom right connector; "left" - left connector or "auto" - auto connector.

C#
public string Name { get; set; }

Defines the offset applied to the connector position. The offset pushes the connector away from the shape edge by the specified number of pixels in the direction appropriate for the connector's position (e.g., upward for "top", downward for "bottom", etc.).

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

The function that positions the connector. The function is passed a shape as parameter and should return a kendo.dataviz.diagram.Point indicating where the connector should be placed.

C#
public ClientHandlerDescriptor Position { get; set; }

Stroke

DiagramShapeConnectorStrokeSettings<TShapeModel, TConnectionModel>

Defines the stroke options of the shape connectors.

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

Defines the width of the shape connectors.

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

Methods

Serialize current instance to Dictionary

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>