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

Defines the fluent API for configuring DiagramConnectionEndCapSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel>

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

Constructors

DiagramConnectionEndCapSettingsBuilder method.

C#
public DiagramConnectionEndCapSettingsBuilder(DiagramConnectionEndCapSettings<TShapeModel, TConnectionModel> container)
Parameters:containerDiagramConnectionEndCapSettings<TShapeModel, TConnectionModel>

Properties

Container

DiagramConnectionEndCapSettings<TShapeModel, TConnectionModel>

Container member.

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

Methods

The anchor point of the arrow marker. This is the point where the marker will be positioned relative to the line. Applies when the type is "ArrowEnd" or "ArrowStart".

C#
public DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> Anchor(Action<DiagramConnectionEndCapAnchorSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
Parameters:configuratorAction<DiagramConnectionEndCapAnchorSettingsBuilder<TShapeModel, TConnectionModel>>

The DiagramConnectionEndCapAnchorSettingsBuilder<TShapeModel, TConnectionModel> for the anchor setting.

Returns:

DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current instance of DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> .

The connection end cap fill options or color.

C#
public DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> Fill(Action<DiagramConnectionEndCapFillSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
Parameters:configuratorAction<DiagramConnectionEndCapFillSettingsBuilder<TShapeModel, TConnectionModel>>

The DiagramConnectionEndCapFillSettingsBuilder<TShapeModel, TConnectionModel> for the fill setting.

Returns:

DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current instance of DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> .

The connection end cap fill options or color.

C#
public DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> Fill(string fill)
Parameters:fillstring

The fill.

Returns:

DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current instance of DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> .

The SVG path data for the arrow marker. Applies when the type is "ArrowEnd" or "ArrowStart".

C#
public DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> Path(string value)
Parameters:valuestring

The value for Path

Returns:

DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> instance.

The radius of the filled circle marker. Applies when the type is "FilledCircle".

C#
public DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> Radius(double value)
Parameters:valuedouble

The value for Radius

Returns:

DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> instance.

The connection end cap stroke options or color.

C#
public DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> Stroke(Action<DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
Parameters:configuratorAction<DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel>>

The DiagramConnectionEndCapStrokeSettingsBuilder<TShapeModel, TConnectionModel> for the stroke setting.

Returns:

DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current instance of DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> .

The connection end cap stroke options or color.

C#
public DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> Stroke(string stroke)
Parameters:strokestring

The stroke.

Returns:

DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current instance of DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> .

The connection end cap type.The supported values are: "none": no cap; "ArrowEnd": a filled arrow or "FilledCircle": a filled circle. You can also use "ArrowStart" for the endCap but its direction will be inversed.

C#
public DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> Type(string value)
Parameters:valuestring

The value for Type

Returns:

DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramConnectionEndCapSettingsBuilder<TShapeModel, TConnectionModel> instance.