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>

The configurator for the content setting.

RETURNS

Returns the current instance of DiagramConnectionBuilder .

Editable(System.Action)

Defines the shape editable options.

Parameters

configurator - System.Action<DiagramConnectionEditableSettingsBuilder>

The configurator for the editable setting.

RETURNS

Returns the current instance of 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 .

EndCap(System.Action)

The connection end cap configuration or type name.

Parameters

configurator - System.Action<DiagramConnectionEndCapSettingsBuilder>

The configurator for the endcap setting.

RETURNS

Returns the current instance of 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>

The configurator for the from setting.

RETURNS

Returns the current instance of 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 instance.

Hover(System.Action)

Defines the hover configuration.

Parameters

configurator - System.Action<DiagramConnectionHoverSettingsBuilder>

The configurator for the hover setting.

RETURNS

Returns the current instance of DiagramConnectionBuilder .

Selectable(System.Boolean)

Specifies if the connection can be selected.

Parameters

value - System.Boolean

The value for Selectable

RETURNS

Returns the current 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>

The configurator for the points setting.

RETURNS

Returns the current instance of DiagramConnectionBuilder .

Selection(System.Action)

Defines the connection selection configuration.

Parameters

configurator - System.Action<DiagramConnectionSelectionSettingsBuilder>

The configurator for the selection setting.

RETURNS

Returns the current instance of DiagramConnectionBuilder .

StartCap(System.Action)

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

Parameters

configurator - System.Action<DiagramConnectionStartCapSettingsBuilder>

The configurator for the startcap setting.

RETURNS

Returns the current instance of DiagramConnectionBuilder .

Stroke(System.Action)

Defines the stroke configuration.

Parameters

configurator - System.Action<DiagramConnectionStrokeSettingsBuilder>

The configurator for the stroke setting.

RETURNS

Returns the current instance of 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>

The configurator for the to setting.

RETURNS

Returns the current instance of 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 instance.

CornerRadius(System.Double)

Defines the corner radius of the connection.

Parameters

value - System.Double

The value for CornerRadius

RETURNS

Returns the current DiagramConnectionBuilder instance.

Accessibility(System.Action)

Defines accessibility options for the connection.

Parameters

configurator - System.Action<DiagramConnectionAccessibilitySettingsBuilder>

The configurator for the accessibility setting.

RETURNS

Returns the current instance of DiagramConnectionBuilder .

Type(Kendo.Mvc.UI.DiagramConnectionType)

The connection type.

Parameters

value - DiagramConnectionType

The value for Type

RETURNS

Returns the current DiagramConnectionBuilder instance.