DiagramShapeContentSettingsBuilder

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 that configures the align.

Color(System.String)

The color of the shape content text.

Parameters

value - System.String

The value that configures the color.

FontFamily(System.String)

The font family of the shape content text.

Parameters

value - System.String

The value that configures the fontfamily.

FontSize(System.Double)

The font size of the shape content text.

Parameters

value - System.Double

The value that configures the fontsize.

FontStyle(System.String)

The font style of the shape content text.

Parameters

value - System.String

The value that configures the fontstyle.

FontWeight(System.String)

The font weight of the shape content text.

Parameters

value - System.String

The value that configures the fontweight.

Template(System.String)

The template which renders the labels.

Parameters

value - System.String

The value that configures the template.

TemplateId(System.String)

The template which renders the labels.

Parameters

value - System.String

The value that configures the template.

TemplateView(System.Web.Mvc.MvcHtmlString)

The template which renders the labels.

Parameters

value - System.Web.Mvc.MvcHtmlString

The value that configures the template.

TemplateHandler(System.String)

The template which renders the labels.

Parameters

value - System.String

The value that configures the template.

Template(Kendo.Mvc.UI.Fluent.TemplateBuilder)

The template which renders the labels.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the template.

Text(System.String)

The text displayed in the shape.

Parameters

value - System.String

The value that configures the text.

LineSpacing(System.Double)

The line spacing of the content text.

Parameters

value - System.Double

The value that configures the linespacing.

Padding(System.Action)

The padding of the content.

Parameters

configurator - System.Action<DiagramShapeContentPaddingSettingsBuilder>

The action that configures the padding.

RelativePadding(System.Action)

The relative padding of the content as a percentage of the shape size.

Parameters

configurator - System.Action<DiagramShapeContentRelativePaddingSettingsBuilder>

The action that configures the relativepadding.

TextWrap(Kendo.Mvc.UI.ShapeTextWrap)

Configures the text wrapping behavior in the shape. Supported values are "nowrap" and "wrap".

Parameters

value - ShapeTextWrap

The value that configures the textwrap.