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

DiagramConnectionStartCapSettingsBuilder

Methods

Fill(System.Action)

Defines the connection start cap fill options.

Parameters

configurator - System.Action<DiagramConnectionStartCapFillSettingsBuilder>

The action that configures the fill.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().StartCap(startCap => startCap.Fill(f => f.Color("red")))
               )
             )

Stroke(System.Action)

Defines the connection start cap stroke options.

Parameters

configurator - System.Action<DiagramConnectionStartCapStrokeSettingsBuilder>

The action that configures the stroke.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().StartCap(startCap => startCap.Stroke(s => s.Color("blue").Width(2)))
               )
             )

Type(System.String)

Defines the connection start cap type. The supported values are: "none" (default), "ArrowStart" (a filled arrow), and "FilledCircle" (a filled circle).

Parameters

value - System.String

The value that configures the type.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .Connections(c => c
                .Add().StartCap(startCap => startCap.Type("FilledCircle"))
               )
             )

In this article
Not finding the help you need?