Kendo.Mvc.UI.DiagramShapeDefaultsContentSettings

Kendo UI DiagramShapeDefaultsContentSettings class

Properties

Align

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.

Color

The color of the shape content text.

FontFamily

The font family of the shape content text.

FontSize

The font size of the shape content text.

FontStyle

The font style of the shape content text.

FontWeight

The font weight of the shape content text.

Template

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.

TemplateId

The id of the script element used for Template

Text

The text that is displayed in the shape.

Methods

Serialize

Serialize current instance to Dictionary

SerializeSettings

Serialize current instance to Dictionary

In this article
Not finding the help you need?