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

Defines the fluent API for configuring the DiagramShapeConnectorHoverStrokeSettings settings.

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramShapeConnectorHoverStrokeSettingsBuilder<TShapeModel, TConnectionModel>

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

Constructors

Initialize the DiagramShapeConnectorHoverStrokeSettingsBuilder

C#
public DiagramShapeConnectorHoverStrokeSettingsBuilder(DiagramShapeConnectorHoverStrokeSettings settings)
Parameters:settingsDiagramShapeConnectorHoverStrokeSettings

The DiagramShapeConnectorHoverStrokeSettings

Methods

Defines the hover stroke color.

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

The value that configures the color.

Returns:

DiagramShapeConnectorHoverStrokeSettingsBuilder<TShapeModel, TConnectionModel>

The dash type of the hover stroke.The following dash types are supported: "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 or "solid" - A solid line.

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

The value that configures the dashtype.

Returns:

DiagramShapeConnectorHoverStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Defines the thickness or width of the shape connectors stroke on hover.

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

The value that configures the width.

Returns:

DiagramShapeConnectorHoverStrokeSettingsBuilder<TShapeModel, TConnectionModel>