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

Defines the fluent API for configuring DiagramConnectionStrokeSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel>

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

Constructors

DiagramConnectionStrokeSettingsBuilder method.

C#
public DiagramConnectionStrokeSettingsBuilder(DiagramConnectionStrokeSettings<TShapeModel, TConnectionModel> container)
Parameters:containerDiagramConnectionStrokeSettings<TShapeModel, TConnectionModel>

Properties

Container

DiagramConnectionStrokeSettings<TShapeModel, TConnectionModel>

Container member.

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

Methods

Defines the stroke or line color of the connection.

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

The value for Color

Returns:

DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.

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

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

The value for LineCap

Returns:

DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.

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

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

The value for LineJoin

Returns:

DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.

Defines the stroke width of the connection.

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

The value for Width

Returns:

DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.