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

DiagramShapeDefaultsHoverFillSettingsBuilder

Methods

Color(System.String)

Defines the default hover fill color.

Parameters

value - System.String

The value that configures the color.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .ShapeDefaults(sd => sd
                .Hover(h => h.Fill(f => f.Color("pink")))
               )
             )

Opacity(System.Double)

Defines the default hover fill opacity.

Parameters

value - System.Double

The value that configures the opacity.

Example


             @(Html.Kendo().Diagram()
              .Name("diagram")
              .ShapeDefaults(sd => sd
                .Hover(h => h.Fill(f => f.Opacity(0.5)))
               )
             )

In this article
Not finding the help you need?