Defines the fluent API for configuring the DiagramShapeConnector settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeConnectorBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramShapeConnectorBuilder(DiagramShapeConnector settings)
Methods
Defines the connector description.
public DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel> Description(string value)
The value that configures the description.
Returns:DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel>
Defines the fill options of the shape connectors.
public DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel> Fill(Action<DiagramFillSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the fill.
Returns:DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel>
Defines the height of the shape connectors.
public DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel> Height(double value)
The value that configures the height.
Returns:DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel>
Defines the hover configuration of the shape connectors.
public DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel> Hover(Action<DiagramHoverSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the hover.
Returns:DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel>
Defines the connector name. The built-in names are: "top" - top connector. "right" - right connector. "bottom" - bottom connector. "bottomRight" - bottom right connector. "left" - left connector. "auto" - auto connector.
public DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel> Name(string value)
The value that configures the name.
Returns:DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel>
public DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel> Offset(double value)
DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel>
Defines the inline handler that positions the connector. The function accepts a shape as parameter and must return a "kendo.dataviz.diagram.Point" indicating where the connector must be placed.
public DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel> Position(Func<object, object> handler)
The handler code wrapped in a text tag (Razor syntax).
Returns:DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel>
Defines the name of the JavaScript function that positions the connector. The function accepts a shape as parameter and must return a "kendo.dataviz.diagram.Point" indicating where the connector must be placed.
public DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel> Position(string value)
The name of the JavaScript function that positions the connector.
Returns:DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel>
Defines the stroke options of the shape connectors.
public DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel> Stroke(Action<DiagramStrokeSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the stroke.
Returns:DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel>
Defines the width of the shape connectors.
public DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel> Width(double value)
The value that configures the width.
Returns:DiagramShapeConnectorBuilder<TShapeModel, TConnectionModel>