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

DiagramConnectionDefaultsSelectionHandlesSettingsBuilder

Methods

Fill(System.Action)

Defines the default handles fill options when connections are selected.

Parameters

configurator - System.Action<DiagramConnectionDefaultsSelectionHandlesFillSettingsBuilder>

The action that configures the fill settings.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .ConnectionDefaults(cd => cd
                .Selection(s => s.Handles(h => h.Fill(f => f.Color("yellow"))))
               )
             )

Stroke(System.Action)

Defines the default handles stroke options when connections are selected.

Parameters

configurator - System.Action<DiagramConnectionDefaultsSelectionHandlesStrokeSettingsBuilder>

The action that configures the stroke settings.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .ConnectionDefaults(cd => cd
                .Selection(s => s.Handles(h => h.Stroke(s => s.Color("white"))))
               )
             )

In this article
Not finding the help you need?