Kendo UI DiagramShapeDefaultsSettingsConnector class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeDefaultsSettingsConnector<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeDefaultsSettingsConnector<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramShapeDefaultsSettingsConnector()
Properties
Diagram member.
public Diagram<TShapeModel, TConnectionModel> Diagram { get; set; }
Fill
DiagramShapeDefaultsConnectorFillSettings<TShapeModel, TConnectionModel>
Defines the fill options of the shape connectors.
public DiagramShapeDefaultsConnectorFillSettings<TShapeModel, TConnectionModel> Fill { get; }
Hover
DiagramShapeDefaultsConnectorHoverSettings<TShapeModel, TConnectionModel>
Defines the hover configuration of the shape connectors.
public DiagramShapeDefaultsConnectorHoverSettings<TShapeModel, TConnectionModel> Hover { get; }
The connector name. The name is referenced when specifying explicit fromConnector and toConnector values in a connection.
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 and should return kendo.dataviz.diagram. As a result, a point that holds the connector position appears.
public ClientHandlerDescriptor Position { get; set; }
Stroke
DiagramShapeDefaultsConnectorStrokeSettings<TShapeModel, TConnectionModel>
Defines the stroke options of the shape connectors.
public DiagramShapeDefaultsConnectorStrokeSettings<TShapeModel, TConnectionModel> Stroke { get; }
Methods
Serialize current instance to Dictionary
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()