New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

Defines the fluent API for configuring the DiagramShapeConnectorDefaultsSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

C#
public class DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class

Inheritance: objectDiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initialize the DiagramShapeConnectorDefaultsSettingsBuilder

C#
public DiagramShapeConnectorDefaultsSettingsBuilder(DiagramShapeConnectorDefaultsSettings settings)
Parameters:settingsDiagramShapeConnectorDefaultsSettings

The DiagramShapeConnectorDefaultsSettings

Methods

Defines the fill options of the shape connectors.

C#
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Fill(Action<DiagramShapeConnectorDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
Parameters:configuratorAction<DiagramShapeConnectorDefaultsFillSettingsBuilder<TShapeModel, TConnectionModel>>

The action that configures the fill.

Returns:

DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>

Defines the height of the shape connectors.

C#
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Height(double value)
Parameters:valuedouble

The value that configures the height.

Returns:

DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>

Defines the hover configuration of the shape connectors.

C#
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Hover(Action<DiagramShapeConnectorDefaultsHoverSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
Parameters:configuratorAction<DiagramShapeConnectorDefaultsHoverSettingsBuilder<TShapeModel, TConnectionModel>>

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.).

C#
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Offset(double value)
Parameters:valuedouble

The value that configures the offset.

Returns:

DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>

Defines the stroke options of the shape connectors.

C#
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Stroke(Action<DiagramShapeConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
Parameters:configuratorAction<DiagramShapeConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>>

The action that configures the stroke.

Returns:

DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>

Defines the width of the shape connectors.

C#
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Width(double value)
Parameters:valuedouble

The value that configures the width.

Returns:

DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>