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

Kendo UI DiagramShapeDefaultsSettingsConnector class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramShapeDefaultsSettingsConnector<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 DiagramShapeDefaultsSettingsConnector()

Properties

Diagram

Diagram<TShapeModel, TConnectionModel>

Diagram member.

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

Fill

DiagramShapeDefaultsConnectorFillSettings<TShapeModel, TConnectionModel>

Defines the fill options of the shape connectors.

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

Defines the height of the shape connectors.

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

Defines the hover configuration of the shape connectors.

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

The connector name. The name is referenced when specifying explicit fromConnector and toConnector values in a connection.

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 and should return kendo.dataviz.diagram. As a result, a point that holds the connector position appears.

C#
public ClientHandlerDescriptor Position { get; set; }

Defines the stroke options of the shape connectors.

C#
public DiagramShapeDefaultsConnectorStrokeSettings<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>