New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Kendo UI DiagramConnectionDefaultsContentSettings class

Definition

Namespace:Kendo.Mvc.UI

Assembly:Kendo.Mvc.dll

Type Parameters:

TShapeModel

TConnectionModel

Syntax:

C#
public class DiagramConnectionDefaultsContentSettings<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class

Inheritance: objectDiagramConnectionDefaultsContentSettings<TShapeModel, TConnectionModel>

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
public DiagramConnectionDefaultsContentSettings()

Properties

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

C#
public string Background { get; set; }

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

C#
public DiagramConnectionDefaultsContentBorderSettings<TShapeModel, TConnectionModel> Border { get; }

The color of the connection content text.

C#
public string Color { get; set; }

Diagram

Diagram<TShapeModel, TConnectionModel>

Diagram member.

C#
public Diagram<TShapeModel, TConnectionModel> Diagram { get; set; }

The font family of the connection content text.

C#
public string FontFamily { get; set; }

The font size of the connection content text.

C#
public double? FontSize { get; set; }

The font style of the connection content text.

C#
public string FontStyle { get; set; }

The font weight of the connection content text.

C#
public string FontWeight { get; set; }

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

C#
public double? Offset { get; set; }

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

C#
public DiagramConnectionDefaultsContentPaddingSettings<TShapeModel, TConnectionModel> Padding { get; }

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.

C#
public DiagramConnectionDefaultsContentPositionSettings<TShapeModel, TConnectionModel> Position { get; }

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.

C#
public string Template { get; set; }

The handler that returns the template used for Template

C#
public string TemplateHandler { get; set; }

The id of the script element used for Template

C#
public string TemplateId { get; set; }

The static text displayed on the connection.

C#
public string Text { get; set; }

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

C#
public ClientHandlerDescriptor Visual { get; set; }

Methods

Serialize current instance to Dictionary

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

Dictionary<string, object>

Serialize current instance to Dictionary

C#
protected virtual Dictionary<string, object> SerializeSettings()
Returns:

Dictionary<string, object>