Defines the fluent API for configuring the DiagramShapeDefaultsSettingsConnector settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramShapeDefaultsSettingsConnectorBuilder(DiagramShapeDefaultsSettingsConnector settings)
Methods
Defines the fill options of the shape connectors.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Fill(Action<DiagramShapeDefaultsConnectorFillSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the fill.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Defines the height of the shape connectors.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Height(double value)
The value that configures the height.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Defines the hover configuration of the shape connectors.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Hover(Action<DiagramShapeDefaultsConnectorHoverSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the hover.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
The connector name. The name is referenced when specifying explicit fromConnector and toConnector values in a connection.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Name(string value)
The value that configures the name.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
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 DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Offset(double value)
The value that configures the offset.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
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 DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Position(Func<object, object> handler)
The value that configures the position action.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
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 DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Position(string handler)
The value that configures the position action.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Defines the stroke options of the shape connectors.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Stroke(Action<DiagramShapeDefaultsConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the stroke.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>
Defines the width of the shape connectors.
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Width(double value)
The value that configures the width.
Returns:DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>