Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
public class DiagramShapeDefaultsContentSettings : JsonObject
Inheritance: objectJsonObjectDiagramShapeDefaultsContentSettings
Inherited Members
Constructors
public DiagramShapeDefaultsContentSettings()
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; }
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 spacing between lines of text in the shape.
public double? LineSpacing { get; set; }
The padding of the shape content.
public DiagramShapeDefaultsContentPaddingSettings Padding { get; set; }
The relative padding of the shape content e.g. 0.03 means 3% of the shape width/height.
public DiagramShapeDefaultsContentRelativePaddingSettings RelativePadding { get; set; }
The template which renders the labels.The fields which can be used in the template are: dataItem - The data item if a field has been specified.
public string Template { get; set; }
The handler for the Template
public string TemplateHandler { get; set; }
The id for the 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
protected override void Serialize(IDictionary<string, object> json)
Overrides: