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

Defines the fluent API for configuring DiagramShapeDefaultsConnectorDefaultsStrokeSettings

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

DiagramShapeDefaultsConnectorDefaultsStrokeSettingsBuilder method.

C#
public DiagramShapeDefaultsConnectorDefaultsStrokeSettingsBuilder(DiagramShapeDefaultsConnectorDefaultsStrokeSettings<TShapeModel, TConnectionModel> container)
Parameters:containerDiagramShapeDefaultsConnectorDefaultsStrokeSettings<TShapeModel, TConnectionModel>

Properties

Container member.

C#
protected DiagramShapeDefaultsConnectorDefaultsStrokeSettings<TShapeModel, TConnectionModel> Container { get; }

Methods

Defines the stroke color.

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

The value for Color

Returns:

DiagramShapeDefaultsConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeDefaultsConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.

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 for DashType

Returns:

DiagramShapeDefaultsConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeDefaultsConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.

Defines the thickness or width of the shape connectors stroke.

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

The value for Width

Returns:

DiagramShapeDefaultsConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeDefaultsConnectorDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.