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

The fluent API for the Stroke Settings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramStrokeSettingsBuilder<TShapeModel, TConnectionModel>

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

Constructors

C#
public DiagramStrokeSettingsBuilder(DiagramStrokeSettings settings)
Parameters:settingsDiagramStrokeSettings

Methods

Defines the stroke color.

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

The value that configures the color.

Returns:

DiagramStrokeSettingsBuilder<TShapeModel, TConnectionModel>

The stroke dash type.

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

The value that configures the dashtype.

Returns:

DiagramStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Defines the stroke stroke.

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

The value that configures the width.

Returns:

DiagramStrokeSettingsBuilder<TShapeModel, TConnectionModel>