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

Defines the fluent API for configuring the DiagramEditableResizeHandlesHoverStrokeSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramEditableResizeHandlesHoverStrokeSettingsBuilder<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 DiagramEditableResizeHandlesHoverStrokeSettingsBuilder(DiagramEditableResizeHandlesHoverStrokeSettings settings)
Parameters:settingsDiagramEditableResizeHandlesHoverStrokeSettings

Methods

Specifies the stroke color on hovering over the resizing handles.

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

The value that configures the color.

Returns:

DiagramEditableResizeHandlesHoverStrokeSettingsBuilder<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.Stroke(s =&gt; s.Color("purple"))))))
)

Specifies the stroke dash type on hovering over the resizing handles. The supported values are: "dash" - A line that consists of dashes. "dashDot" - A line that consists of a repeating pattern of dash-dot. "dot" - A line that consists of dots. "longDash" - A line that consists of a repeating pattern of long-dash. "longDashDot" - A line that consists of a repeating pattern of long-dash-dot. "longDashDotDot" - A line that consists of a repeating pattern of long-dash-dot-dot. "solid" - A solid line.

C#
public DiagramEditableResizeHandlesHoverStrokeSettingsBuilder<TShapeModel, TConnectionModel> DashType(DiagramDashType value)
Parameters:valueDiagramDashType

The value that configures the dash type.

Returns:

DiagramEditableResizeHandlesHoverStrokeSettingsBuilder<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.Stroke(s =&gt; s.DashType(DiagramDashType.DashDot))))))
)

Specifies the stroke color on hovering over the resizing handles.

C#
public DiagramEditableResizeHandlesHoverStrokeSettingsBuilder<TShapeModel, TConnectionModel> Width(double value)
Parameters:valuedouble

The value that configures the width.

Returns:

DiagramEditableResizeHandlesHoverStrokeSettingsBuilder<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.Stroke(s =&gt; s.Width(5))))))
)