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

Defines the fluent API for configuring the DiagramShapeDefaultsConnectorDefaultsStrokeSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramShapeDefaultsConnectorDefaultsStrokeSettingsBuilder<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 DiagramShapeDefaultsConnectorDefaultsStrokeSettingsBuilder

C#
public DiagramShapeDefaultsConnectorDefaultsStrokeSettingsBuilder(DiagramShapeDefaultsConnectorDefaultsStrokeSettings settings)
Parameters:settingsDiagramShapeDefaultsConnectorDefaultsStrokeSettings

The DiagramShapeDefaultsConnectorDefaultsStrokeSettings

Methods

Defines the stroke color.

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

The value that configures the color.

Returns:

DiagramShapeDefaultsConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>

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

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

The value that configures the dashtype.

Returns:

DiagramShapeDefaultsConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Defines the thickness or width of the shape connectors stroke.

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

The value that configures the width.

Returns:

DiagramShapeDefaultsConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>