DiagramConnectionContentSettingsBuilder

Methods

Color(System.String)

The color of the connection content text.

Parameters

value - System.String

The value for Color

RETURNS

Returns the current DiagramConnectionContentSettingsBuilder instance.

FontFamily(System.String)

The font family of the connection content text.

Parameters

value - System.String

The value for FontFamily

RETURNS

Returns the current DiagramConnectionContentSettingsBuilder instance.

FontSize(System.Double)

The font size of the connection content text.

Parameters

value - System.Double

The value for FontSize

RETURNS

Returns the current DiagramConnectionContentSettingsBuilder instance.

FontStyle(System.String)

The font style of the connection content text.

Parameters

value - System.String

The value for FontStyle

RETURNS

Returns the current DiagramConnectionContentSettingsBuilder instance.

FontWeight(System.String)

The font weight of the connection content text.

Parameters

value - System.String

The value for FontWeight

RETURNS

Returns the current DiagramConnectionContentSettingsBuilder instance.

Template(System.String)

The template which renders the labels.

Parameters

value - System.String

The value for Template

RETURNS

Returns the current DiagramConnectionContentSettingsBuilder instance.

TemplateId(System.String)

The template which renders the labels.

Parameters

templateId - System.String

The ID of the template element for Template

RETURNS

Returns the current DiagramConnectionContentSettingsBuilder instance.

TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template which renders the labels.

Parameters

templateView - Microsoft.AspNetCore.Html.IHtmlContent

The view that contains the template for Template

RETURNS

Returns the current DiagramConnectionContentSettingsBuilder instance.

TemplateHandler(System.String)

The template which renders the labels.

Parameters

templateHandler - System.String

The handler that returs the template for Template

RETURNS

Returns the current DiagramConnectionContentSettingsBuilder instance.

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

The template which renders the labels.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

RETURNS

Returns the current DiagramConnectionContentSettingsBuilder instance.

Text(System.String)

The text displayed for the connection.

Parameters

value - System.String

The value for Text

RETURNS

Returns the current DiagramConnectionContentSettingsBuilder instance.

Visual(System.String)

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

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

RETURNS

Returns the current DiagramConnectionContentSettingsBuilder instance.

Visual(System.Func)

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

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current DiagramConnectionContentSettingsBuilder instance.

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<DiagramConnectionContentPositionSettingsBuilder>

The configurator for the position setting.

RETURNS

Returns the current instance of DiagramConnectionContentSettingsBuilder .

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 DiagramConnectionContentSettingsBuilder instance.

Border(System.Action)

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

Parameters

configurator - System.Action<DiagramConnectionContentBorderSettingsBuilder>

The configurator for the border setting.

RETURNS

Returns the current instance of DiagramConnectionContentSettingsBuilder .

Padding(System.Action)

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

Parameters

configurator - System.Action<DiagramConnectionContentPaddingSettingsBuilder>

The configurator for the padding setting.

RETURNS

Returns the current instance of DiagramConnectionContentSettingsBuilder .