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

DiagramConnectionDefaultsStrokeSettingsBuilder

Methods

Color(System.String)

Defines the default stroke color of the connection.

Parameters

value - System.String

The value that configures the color.

Example


             @(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


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .ConnectionDefaults(cd => cd
                .Stroke(s => s.Width(3))
               )
             )

In this article
Not finding the help you need?