New to Telerik UI for BlazorStart a free 30-day trial

Controls where the connection label or content appears along the connection line. Use this to position text at the start, middle, or end of the connection, with customizable offsets. Works with DiagramConnectionContentDescriptor to define what content is displayed.

Definition

Namespace:Telerik.Blazor.Components

Assembly:Telerik.Blazor.dll

Syntax:

C#
public class DiagramConnectionContentPositionDescriptor : DataVizChildComponentDescriptor

Inheritance: objectDataVizChildComponentDescriptorDiagramConnectionContentPositionDescriptor

Constructors

C#
public DiagramConnectionContentPositionDescriptor()

Methods

C#
public Dictionary<string, object> Serialize()
Returns:

Dictionary<string, object>

Properties

Sets the horizontal position of content labels along the connection line. Use with DiagramConnectionsContentPositionHorizontal to precisely control label placement on connections.

C#
public DiagramConnectionsContentPositionHorizontal? Horizontal { get; set; }

Sets the vertical position of content labels relative to the connection line. Use with DiagramConnectionsContentPositionVertical to precisely control label placement on connections.

C#
public DiagramConnectionsContentPositionVertical? Vertical { get; set; }