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

Defines the fluent API for configuring DiagramSelectableStrokeSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramSelectableStrokeSettingsBuilder<TShapeModel, TConnectionModel>

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

Constructors

DiagramSelectableStrokeSettingsBuilder method.

C#
public DiagramSelectableStrokeSettingsBuilder(DiagramSelectableStrokeSettings<TShapeModel, TConnectionModel> container)
Parameters:containerDiagramSelectableStrokeSettings<TShapeModel, TConnectionModel>

Properties

Container

DiagramSelectableStrokeSettings<TShapeModel, TConnectionModel>

Container member.

C#
protected DiagramSelectableStrokeSettings<TShapeModel, TConnectionModel> Container { get; }

Methods

Defines the selection stroke color. Accepts valid CSS colors.

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

The value for Color

Returns:

DiagramSelectableStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramSelectableStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.

Defines the selection dash type. The following dash types are supported: "dash" - a line consisting of dashes; "dashDot" - a line consisting of a repeating pattern of dash-dot; "dot" - a line consisting of dots; "longDash" - a line consisting of long dashes; "longDashDot" - a line consisting of a repeating pattern of long dash-dot; "longDashDotDot" - a line consisting of a repeating pattern of long dash-dot-dot or "solid" - a solid line.

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

The value for DashType

Returns:

DiagramSelectableStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramSelectableStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.

Defines the selection stroke width.

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

The value for Width

Returns:

DiagramSelectableStrokeSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramSelectableStrokeSettingsBuilder<TShapeModel, TConnectionModel> instance.