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

Defines the fluent API for configuring the DiagramShapeConnectorStrokeSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramShapeConnectorStrokeSettingsBuilder<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 DiagramShapeConnectorStrokeSettingsBuilder

C#
public DiagramShapeConnectorStrokeSettingsBuilder(DiagramShapeConnectorStrokeSettings settings)
Parameters:settingsDiagramShapeConnectorStrokeSettings

The DiagramShapeConnectorStrokeSettings

Methods

Defines the stroke color.

C#
public DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel> Color(string value)
Parameters:valuestring

The value that configures the color.

Returns:

DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel>

The connector stroke dash type.The following dash types are supported: "dash" - A line that consists of dashes; "dashDot" - A line that consists of a repeating pattern of dash-dot; "dot" - A line that consists of dots; "longDash" - A line that consists of a repeating pattern of long-dash; "longDashDot" - A line that consists of a repeating pattern of long-dash-dot; "longDashDotDot" - A line that consists of a repeating pattern of long-dash-dot-dot or "solid" - A solid line.

C#
public DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel> DashType(DiagramDashType value)
Parameters:valueDiagramDashType

The value that configures the dashtype.

Returns:

DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Defines the thickness or width of the shape connectors stroke.

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

The value that configures the width.

Returns:

DiagramShapeConnectorStrokeSettingsBuilder<TShapeModel, TConnectionModel>