# DiagramConnectionBuilder

## Methods

### DataItem(System.Object)

Defines the connection dataItem.

#### Parameters

##### value - `System.Object`

The value that configures the data item.

### Content(System.Action)

Defines the connection content settings.

#### Parameters

##### configurator - System.Action<[DiagramConnectionContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectioncontentsettingsbuilder)>

The configurator for the content setting.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### Editable(System.Action)

Defines the shape editable options.

#### Parameters

##### configurator - System.Action<[DiagramConnectionEditableSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectioneditablesettingsbuilder)>

The configurator for the editable setting.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### Editable(System.Boolean)

Defines the shape editable options.

#### Parameters

##### enabled - `System.Boolean`

Enables or disables the editable option.

#### RETURNS

Returns the current instance of [DiagramConnectionEditableSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectioneditablesettingsbuilder) .

### EndCap(System.String)

The connection end cap configuration or type name.

#### Parameters

##### endCap - `System.String`

The endcap.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### EndCap(System.Action)

The connection end cap configuration or type name.

#### Parameters

##### configurator - System.Action<[DiagramConnectionEndCapSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionendcapsettingsbuilder)>

The configurator for the endcap setting.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### From(System.String)

Defines the source of the connection. You can set this property to a value matching a shape id or to an object with XY-coordinates.

#### Parameters

##### from - `System.String`

The from.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### From(System.Action)

Defines the source of the connection. You can set this property to a value matching a shape id or to an object with XY-coordinates.

#### Parameters

##### configurator - System.Action<[DiagramConnectionFromSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionfromsettingsbuilder)>

The configurator for the from setting.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### FromConnector(System.String)

Specifies the name of the source shape connector that should be used by the connection.

#### Parameters

##### value - `System.String`

The value for FromConnector

#### RETURNS

Returns the current [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) instance.

### Hover(System.Action)

Defines the hover configuration.

#### Parameters

##### configurator - System.Action<[DiagramConnectionHoverSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionhoversettingsbuilder)>

The configurator for the hover setting.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### Selectable(System.Boolean)

Specifies if the connection can be selected.

#### Parameters

##### value - `System.Boolean`

The value for Selectable

#### RETURNS

Returns the current [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) instance.

### Points(System.Action)

Sets the intermediate points (in global coordinates) of the connection. These points cannot be manipulated by user action.

#### Parameters

##### configurator - System.Action<[DiagramConnectionPointFactory](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionpointfactory)>

The configurator for the points setting.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### Selection(System.Action)

Defines the connection selection configuration.

#### Parameters

##### configurator - System.Action<[DiagramConnectionSelectionSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionselectionsettingsbuilder)>

The configurator for the selection setting.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### StartCap(System.String)

The start cap (arrow, head or decoration) of the connection.

#### Parameters

##### startCap - `System.String`

The startcap.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### StartCap(System.Action)

The start cap (arrow, head or decoration) of the connection.

#### Parameters

##### configurator - System.Action<[DiagramConnectionStartCapSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionstartcapsettingsbuilder)>

The configurator for the startcap setting.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### Stroke(System.Action)

Defines the stroke configuration.

#### Parameters

##### configurator - System.Action<[DiagramConnectionStrokeSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionstrokesettingsbuilder)>

The configurator for the stroke setting.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### To(System.String)

Defines the target of the connection. You can set this property to a value matching a shape id or to an object with XY-coordinates.

#### Parameters

##### to - `System.String`

The to.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### To(System.Action)

Defines the target of the connection. You can set this property to a value matching a shape id or to an object with XY-coordinates.

#### Parameters

##### configurator - System.Action<[DiagramConnectionToSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectiontosettingsbuilder)>

The configurator for the to setting.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### ToConnector(System.String)

Specifies the name of the target shape connector that should be used by the connection.

#### Parameters

##### value - `System.String`

The value for ToConnector

#### RETURNS

Returns the current [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) instance.

### CornerRadius(System.Double)

Defines the corner radius of the connection.

#### Parameters

##### value - `System.Double`

The value for CornerRadius

#### RETURNS

Returns the current [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) instance.

### Accessibility(System.Action)

Defines accessibility options for the connection.

#### Parameters

##### configurator - System.Action<[DiagramConnectionAccessibilitySettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionaccessibilitysettingsbuilder)>

The configurator for the accessibility setting.

#### RETURNS

Returns the current instance of [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) .

### Type(Kendo.Mvc.UI.DiagramConnectionType)

The connection type.

#### Parameters

##### value - [DiagramConnectionType](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/diagramconnectiontype)

The value for Type

#### RETURNS

Returns the current [DiagramConnectionBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramconnectionbuilder) instance.
