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

Defines the fluent API for configuring DiagramShapeConnectorDefaultsSettings

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>

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

Constructors

DiagramShapeConnectorDefaultsSettingsBuilder method.

C#
public DiagramShapeConnectorDefaultsSettingsBuilder(DiagramShapeConnectorDefaultsSettings<TShapeModel, TConnectionModel> container)
Parameters:containerDiagramShapeConnectorDefaultsSettings<TShapeModel, TConnectionModel>

Properties

Container

DiagramShapeConnectorDefaultsSettings<TShapeModel, TConnectionModel>

Container member.

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

Methods

Defines the fill options of the shape connectors.

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

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

Returns:

DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>

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

Defines the fill options of the shape connectors.

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

The fill.

Returns:

DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>

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

Defines the height of the shape connectors.

C#
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Height(double value)
Parameters:valuedouble

The value for Height

Returns:

DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> instance.

Defines the hover configuration of the shape connectors.

C#
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Hover(Action<DiagramShapeConnectorDefaultsHoverSettingsBuilder<TShapeModel, TConnectionModel>> configurator)
Parameters:configuratorAction<DiagramShapeConnectorDefaultsHoverSettingsBuilder<TShapeModel, TConnectionModel>>

The DiagramShapeConnectorDefaultsHoverSettingsBuilder<TShapeModel, TConnectionModel> for the hover setting.

Returns:

DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>

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

Defines the offset applied to the connector position. The offset pushes the connector away from the shape edge by the specified number of pixels in the direction appropriate for the connector's position (e.g., upward for "top", downward for "bottom", etc.).

C#
public DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> Offset(double value)
Parameters:valuedouble

The value for Offset

Returns:

DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> instance.

Defines the stroke options of the shape connectors.

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

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

Returns:

DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>

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

Defines the stroke options of the shape connectors.

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

The stroke.

Returns:

DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>

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

Defines the width of the shape connectors.

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

The value for Width

Returns:

DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeConnectorDefaultsSettingsBuilder<TShapeModel, TConnectionModel> instance.