Kendo.Mvc.UI.Fluent.DiagramShapeDefaultsContentSettingsBuilder

Defines the fluent API for configuring DiagramShapeDefaultsContentSettings

Methods

Align(System.String)

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.

Parameters

value System.String

The value for Align

Color(System.String)

The color of the shape content text.

Parameters

value System.String

The value for Color

FontFamily(System.String)

The font family of the shape content text.

Parameters

value System.String

The value for FontFamily

FontSize(System.Double)

The font size of the shape content text.

Parameters

value System.Double

The value for FontSize

FontStyle(System.String)

The font style of the shape content text.

Parameters

value System.String

The value for FontStyle

FontWeight(System.String)

The font weight of the shape content text.

Parameters

value System.String

The value for FontWeight

Template(System.String)

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.

Parameters

value System.String

The value for Template

TemplateId(System.String)

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.

Parameters

templateId System.String

The ID of the template element for Template

Text(System.String)

The text that is displayed in the shape.

Parameters

value System.String

The value for Text

In this article
Not finding the help you need?