Kendo UI DiagramConnectionContentSettings class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramConnectionContentSettings<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramConnectionContentSettings<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramConnectionContentSettings()
Properties
The background color of the connection label. Accepts valid CSS colors.
public string Background { get; set; }
Border
DiagramConnectionContentBorderSettings<TShapeModel, TConnectionModel>
The border options of the connection label. Applicable when background is set.
public DiagramConnectionContentBorderSettings<TShapeModel, TConnectionModel> Border { get; }
Diagram member.
public Diagram<TShapeModel, TConnectionModel> Diagram { get; set; }
The font family of the connection content text.
public string FontFamily { get; set; }
The font size of the connection content text.
public double? FontSize { get; set; }
The font style of the connection content text.
public string FontStyle { get; set; }
The font weight of the connection content text.
public string FontWeight { get; set; }
Defines the distance (in pixels) between the label and the connection path.
public double? Offset { get; set; }
Padding
DiagramConnectionContentPaddingSettings<TShapeModel, TConnectionModel>
The padding options of the connection label. Applicable when background or border is set.
public DiagramConnectionContentPaddingSettings<TShapeModel, TConnectionModel> Padding { get; }
Position
DiagramConnectionContentPositionSettings<TShapeModel, TConnectionModel>
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.
public DiagramConnectionContentPositionSettings<TShapeModel, TConnectionModel> Position { get; }
The handler that returns the template used for Template
public string TemplateHandler { get; set; }
The id of the script element used for Template
public string TemplateId { get; set; }
A function returning a visual element to render for the content of the connection.
public ClientHandlerDescriptor Visual { get; set; }
Methods
Serialize current instance to Dictionary
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()