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

Defines the fluent API for configuring DiagramShapeDefaultsSettingsConnector

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

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

Inheritance: objectDiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>

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

Constructors

DiagramShapeDefaultsSettingsConnectorBuilder method.

C#
public DiagramShapeDefaultsSettingsConnectorBuilder(DiagramShapeDefaultsSettingsConnector<TShapeModel, TConnectionModel> container)
Parameters:containerDiagramShapeDefaultsSettingsConnector<TShapeModel, TConnectionModel>

Properties

Container

DiagramShapeDefaultsSettingsConnector<TShapeModel, TConnectionModel>

Container member.

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

Methods

Defines the fill options of the shape connectors.

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

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

Returns:

DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>

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

Defines the fill options of the shape connectors.

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

The fill.

Returns:

DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>

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

Defines the height of the shape connectors.

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

The value for Height

Returns:

DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> instance.

Defines the hover configuration of the shape connectors.

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

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

Returns:

DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>

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

The connector name. The name is referenced when specifying explicit fromConnector and toConnector values in a connection.

C#
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Name(string value)
Parameters:valuestring

The value for Name

Returns:

DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> instance.

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 DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Offset(double value)
Parameters:valuedouble

The value for Offset

Returns:

DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> instance.

The function that positions the connector. The function is passed a shape and should return kendo.dataviz.diagram. As a result, a point that holds the connector position appears.

C#
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Position(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> instance.

The function that positions the connector. The function is passed a shape and should return kendo.dataviz.diagram. As a result, a point that holds the connector position appears.

C#
public DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> Position(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> instance.

Defines the stroke options of the shape connectors.

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

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

Returns:

DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>

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

Defines the stroke options of the shape connectors.

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

The stroke.

Returns:

DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>

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

Defines the width of the shape connectors.

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

The value for Width

Returns:

DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel>

Returns the current DiagramShapeDefaultsSettingsConnectorBuilder<TShapeModel, TConnectionModel> instance.