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

Defines the fluent API for configuring the DiagramEditableResizeHandlesHoverFillSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

C#
public class DiagramEditableResizeHandlesHoverFillSettingsBuilder<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class

Inheritance: objectDiagramEditableResizeHandlesHoverFillSettingsBuilder<TShapeModel, TConnectionModel>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public DiagramEditableResizeHandlesHoverFillSettingsBuilder(DiagramEditableResizeHandlesHoverFillSettings settings)
Parameters:settingsDiagramEditableResizeHandlesHoverFillSettings

Methods

Specifies the fill color on hovering over the resizing handles.

C#
public DiagramEditableResizeHandlesHoverFillSettingsBuilder<TShapeModel, TConnectionModel> Color(string value)
Parameters:valuestring

The value that configures the color.

Returns:

DiagramEditableResizeHandlesHoverFillSettingsBuilder<TShapeModel, TConnectionModel>

Example:
C#
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e =&gt; e.Resize(r =&gt; r.Handles(h =&gt; h.Hover(hh =&gt; hh.Fill(f =&gt; f.Color("green"))))))
)

Specifies the fill opacity on hovering over the resizing handles.

C#
public DiagramEditableResizeHandlesHoverFillSettingsBuilder<TShapeModel, TConnectionModel> Opacity(double value)
Parameters:valuedouble

The value that configures the opacity.

Returns:

DiagramEditableResizeHandlesHoverFillSettingsBuilder<TShapeModel, TConnectionModel>

Example:
C#
@(Html.Kendo().Diagram()
.Name("diagram")
.Editable(e =&gt; e.Resize(r =&gt; r.Handles(h =&gt; h.Hover(hh =&gt; hh.Fill(f =&gt; f.Opacity(0.8))))))
)