Defines the fluent API for configuring the DiagramShapeConnectorDefaultsSettings settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Inherited Members
Constructors
Initialize the DiagramShapeConnectorDefaultsSettingsBuilder
public DiagramShapeConnectorDefaultsSettingsBuilder(DiagramShapeConnectorDefaultsSettings settings)
Methods
Defines the fill options of the shape connectors.
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Fill(Action<DiagramShapeConnectorDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the fill.
Returns:DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the height of the shape connectors.
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Height(double value)
The value that configures the height.
Returns:DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the hover configuration of the shape connectors.
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Hover(Action<DiagramShapeConnectorDefaultsHoverSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the hover.
Returns:DiagramShapeConnectorDefaultsSettingsBuilder<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 DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Offset(double value)
The value that configures the offset.
Returns:DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the stroke options of the shape connectors.
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Stroke(Action<DiagramShapeConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The action that configures the stroke.
Returns:DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Defines the width of the shape connectors.
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Width(double value)
The value that configures the width.
Returns:DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>