# DiagramConnectionDefaultsContentSettingsBuilder

## Methods

### Color(System.String)

The color of the connection content text.

#### Parameters

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

The value for Color

#### RETURNS

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

### FontFamily(System.String)

The font family of the connection content text.

#### Parameters

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

The value for FontFamily

#### RETURNS

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

### FontSize(System.Double)

The font size of the connection content text.

#### Parameters

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

The value for FontSize

#### RETURNS

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

### FontStyle(System.String)

The font style of the connection content text.

#### Parameters

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

The value for FontStyle

#### RETURNS

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

### FontWeight(System.String)

The font weight of the connection content text.

#### Parameters

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

The value for FontWeight

#### RETURNS

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

### Template(System.String)

The template which renders the labels.The fields which can be used in the template are: dataItem - the data item, in case a field has been specified.

#### Parameters

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

The value for Template

#### RETURNS

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

### TemplateId(System.String)

The template which renders the labels.The fields which can be used in the template are: dataItem - the data item, in case a field has been specified.

#### Parameters

##### templateId - `System.String`

The ID of the template element for Template

#### RETURNS

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

### TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template which renders the labels.The fields which can be used in the template are: dataItem - the data item, in case a field has been specified.

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for Template

#### RETURNS

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

### TemplateHandler(System.String)

The template which renders the labels.The fields which can be used in the template are: dataItem - the data item, in case a field has been specified.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for Template

#### RETURNS

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

### Template(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template which renders the labels.The fields which can be used in the template are: dataItem - the data item, in case a field has been specified.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the template.

#### RETURNS

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

### Text(System.String)

The static text displayed on the connection.

#### Parameters

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

The value for Text

#### RETURNS

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

### Visual(System.String)

A function returning a visual element to render for the content of a connection.

#### Parameters

##### handler - `System.String`

The name of the JavaScript function that will be evaluated.

#### RETURNS

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

### Visual(System.Func)

A function returning a visual element to render for the content of a connection.

#### Parameters

##### handler - `System.Func<Object,Object>`

The handler code wrapped in a text tag.

#### RETURNS

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

### Position(System.String)

Defines the position of the label relative to the connection path. Can be set to "inline" to position the label along the connection path, or an object with vertical and horizontal properties.

#### Parameters

##### position - `System.String`

The position.

#### RETURNS

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

### Position(System.Action)

Defines the position of the label relative to the connection path. Can be set to "inline" to position the label along the connection path, or an object with vertical and horizontal properties.

#### Parameters

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

The configurator for the position setting.

#### RETURNS

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

### Background(System.String)

The background color of the connection label. Accepts valid CSS colors.

#### Parameters

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

The value for Background

#### RETURNS

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

### Border(System.Action)

The border options of the connection label. Applicable when background is set.

#### Parameters

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

The configurator for the border setting.

#### RETURNS

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

### Padding(System.Action)

The padding options of the connection label. Applicable when background or border is set.

#### Parameters

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

The configurator for the padding setting.

#### RETURNS

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

### Offset(System.Double)

Defines the distance (in pixels) between the label and the connection path.

#### Parameters

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

The value for Offset

#### RETURNS

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