Kendo UI DiagramShapeContentSettings class
Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Type Parameters:
TShapeModel
TConnectionModel
Syntax:
public class DiagramShapeContentSettings<TShapeModel, TConnectionModel> where TShapeModel : class where TConnectionModel : class
Inheritance: objectDiagramShapeContentSettings<TShapeModel, TConnectionModel>
Inherited Members
Constructors
public DiagramShapeContentSettings()
Properties
The alignment of the text inside the shape. You can do combinations between "top", "middle" and "bottom" for vertical align and "right", "center" and "left" for horizontal align. For example, "top right", "middle left", "bottom center", and so on.
public string Align { get; set; }
Diagram member.
public Diagram<TShapeModel, TConnectionModel> Diagram { get; set; }
The font family of the shape content text.
public string FontFamily { get; set; }
The font weight of the shape content text.
public string FontWeight { get; set; }
The line spacing of the content text.
public double? LineSpacing { get; set; }
Padding
DiagramShapeContentPaddingSettings<TShapeModel, TConnectionModel>
The padding of the content.
public DiagramShapeContentPaddingSettings<TShapeModel, TConnectionModel> Padding { get; }
RelativePadding
DiagramShapeContentRelativePaddingSettings<TShapeModel, TConnectionModel>
The relative padding of the content as a percentage of the shape size.
public DiagramShapeContentRelativePaddingSettings<TShapeModel, TConnectionModel> RelativePadding { 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; }
Configures the text wrapping behavior in the shape. Supported values are "nowrap" and "wrap".
public ShapeTextWrap? TextWrap { get; set; }
Methods
Serialize current instance to Dictionary
Serialize current instance to Dictionary
protected virtual Dictionary<string, object> SerializeSettings()