Defines the fluent API for configuring DiagramShapeConnectorDefaultsSettings
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
DiagramShapeConnectorDefaultsSettingsBuilder method.
public DiagramShapeConnectorDefaultsSettingsBuilder(DiagramShapeConnectorDefaultsSettings<TShapeModel, TConnectionModel> container)
Properties
Container
DiagramShapeConnectorDefaultsSettings<TShapeModel, TConnectionModel>
Container member.
protected DiagramShapeConnectorDefaultsSettings<TShapeModel, TConnectionModel> Container { get; }
Methods
Defines the fill options of the shape connectors.
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Fill(Action<DiagramShapeConnectorDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The DiagramShapeConnectorDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel> for the fill setting.
Returns:DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> .
Defines the fill options of the shape connectors.
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Fill(string fill)
The fill.
Returns:DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> .
Defines the height of the shape connectors.
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Height(double value)
The value for Height
Returns:DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the hover configuration of the shape connectors.
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Hover(Action<DiagramShapeConnectorDefaultsHoverSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The DiagramShapeConnectorDefaultsHoverSettingsBuilder<TShapeModel, TConnectionModel> for the hover setting.
Returns:DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of 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 for Offset
Returns:DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> instance.
Defines the stroke options of the shape connectors.
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Stroke(Action<DiagramShapeConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
The DiagramShapeConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> for the stroke setting.
Returns:DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> .
Defines the stroke options of the shape connectors.
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Stroke(string stroke)
The stroke.
Returns:DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current instance of DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> .
Defines the width of the shape connectors.
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Width(double value)
The value for Width
Returns:DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>
Returns the current DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> instance.