DiagramConnectionStrokeSettingsBuilder

Methods

Color(System.String)

Defines the stroke or line color of the connection.

Parameters

value - System.String

The value that configures the color.

Example

Razor
 
             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().Stroke(s => s.Color("#33ccff"))
               )
             )
             

Width(System.Double)

Defines the stroke width of the connection.

Parameters

value - System.Double

The value that configures the width.

Example

Razor
 
             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().Stroke(s => s.Width(2))
               )
             )
             
In this article
MethodsColor(System.String)Width(System.Double)
Not finding the help you need?
Contact Support