Definition
Namespace:Kendo.Mvc.UI
Assembly:Kendo.Mvc.dll
Syntax:
C#
public class DiagramShapeContentSettings : JsonObject
Inheritance: objectJsonObjectDiagramShapeContentSettings
Inherited Members
Constructors
C#
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.
C#
public string Align { get; set; }
The font family of the shape content text.
C#
public string FontFamily { get; set; }
The font weight of the shape content text.
C#
public string FontWeight { get; set; }
The line spacing of the content text.
C#
public double? LineSpacing { get; set; }
The padding of the content.
C#
public DiagramShapeContentPaddingSettings Padding { get; set; }
The relative padding of the content as a percentage of the shape size.
C#
public DiagramShapeContentRelativePaddingSettings RelativePadding { get; set; }
The handler for the Template
C#
public string TemplateHandler { get; set; }
The id for the Template
C#
public string TemplateId { get; set; }
Configures the text wrapping behavior in the shape. Supported values are "nowrap" and "wrap".
C#
public ShapeTextWrap? TextWrap { get; set; }
Methods
C#
protected override void Serialize(IDictionary<string, object> json)
Overrides: