DiagramConnectionDefaultsStrokeSettingsBuilder

Methods

Color(System.String)

Defines the default stroke color of the connection.

Parameters

value - System.String

The value that configures the color.

Example

Razor
 
             @(Html.Kendo().Diagram()
              .Name("diagram")
              .ConnectionDefaults(cd => cd
                .Stroke(s => s.Color("blue"))
               )
             )
             

Width(System.Double)

Defines the default stroke width of the connection.

Parameters

value - System.Double

The value that configures the width.

Example

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