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

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

Razor
 
             @(Html.Kendo().Diagram()
              .Name("diagram")
              .ConnectionDefaults(cd => cd
                .Selection(s => s.Handles(h => h.Stroke(s => s.Color("white"))))
               )
             )
             
In this article
MethodsFill(System.Action)Stroke(System.Action)
Not finding the help you need?
Contact Support