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

Defines the fluent API for configuring DiagramConnectionDefaultsStrokeSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>

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

Constructors

DiagramConnectionDefaultsStrokeSettingsBuilder method.

C#
public DiagramConnectionDefaultsStrokeSettingsBuilder(DiagramConnectionDefaultsStrokeSettings<TShapeModel, TConnectionModel> container)
Parameters:containerDiagramConnectionDefaultsStrokeSettings<TShapeModel, TConnectionModel>

Properties

Container member.

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

Methods

Defines the stroke or line color of the connection.

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

The value for Color

Returns:

DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.

Defines the line cap style of the stroke. Supported values are "butt", "round", and "square".

C#
public DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> LineCap(DiagramStrokeLineCap value)
Parameters:valueDiagramStrokeLineCap

The value for LineCap

Returns:

DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.

Defines the line join style of the stroke. Supported values are "bevel", "miter", and "round".

C#
public DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> LineJoin(DiagramStrokeLineJoin value)
Parameters:valueDiagramStrokeLineJoin

The value for LineJoin

Returns:

DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.

Defines the stroke width of the connection.

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

The value for Width

Returns:

DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionDefaultsStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.