DiagramShapeDefaultsHoverFillSettingsBuilder

Methods

Color(System.String)

Defines the default hover fill color.

Parameters

value - System.String

The value that configures the color.

Example

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

Razor
 
             @(Html.Kendo().Diagram()
              .Name("diagram")
              .ShapeDefaults(sd => sd
                .Hover(h => h.Fill(f => f.Opacity(0.5)))
               )
             )
             
In this article
MethodsColor(System.String)Opacity(System.Double)
Not finding the help you need?
Contact Support