Kendo UI DiagramShapeConnector class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeConnector<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeConnector<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramShapeConnector()
Properties
The connector description.
public string Description { get; set; }
Diagram member.
public Diagram<TShapeModel, TConnectionModel> Diagram { get; set; }
Fill
DiagramShapeConnectorFillSettings<TShapeModel, TConnectionModel>
Defines the fill options of the shape connectors.
public DiagramShapeConnectorFillSettings<TShapeModel, TConnectionModel> Fill { get; }
Hover
DiagramShapeConnectorHoverSettings<TShapeModel, TConnectionModel>
Defines the hover configuration of the shape connectors.
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.
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.).
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.
public ClientHandlerDescriptor Position { get; set; }
Stroke
DiagramShapeConnectorStrokeSettings<TShapeModel, TConnectionModel>
Defines the stroke options of the shape connectors.
public DiagramShapeConnectorStrokeSettings<TShapeModel, TConnectionModel> Stroke { get; }
Methods
Serialize current instance to Dictionary
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()