DiagramShapeDefaultsContentSettingsBuilder

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

RETURNS

Returns the current DiagramShapeDefaultsContentSettingsBuilder instance.

Color(System.String)

The color of the shape content text.

Parameters

value - System.String

The value for Color

RETURNS

Returns the current DiagramShapeDefaultsContentSettingsBuilder instance.

FontFamily(System.String)

The font family of the shape content text.

Parameters

value - System.String

The value for FontFamily

RETURNS

Returns the current DiagramShapeDefaultsContentSettingsBuilder instance.

FontSize(System.Double)

The font size of the shape content text.

Parameters

value - System.Double

The value for FontSize

RETURNS

Returns the current DiagramShapeDefaultsContentSettingsBuilder instance.

FontStyle(System.String)

The font style of the shape content text.

Parameters

value - System.String

The value for FontStyle

RETURNS

Returns the current DiagramShapeDefaultsContentSettingsBuilder instance.

FontWeight(System.String)

The font weight of the shape content text.

Parameters

value - System.String

The value for FontWeight

RETURNS

Returns the current DiagramShapeDefaultsContentSettingsBuilder instance.

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

RETURNS

Returns the current DiagramShapeDefaultsContentSettingsBuilder instance.

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

RETURNS

Returns the current DiagramShapeDefaultsContentSettingsBuilder instance.

TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

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

templateView - Microsoft.AspNetCore.Html.IHtmlContent

The view that contains the template for Template

RETURNS

Returns the current DiagramShapeDefaultsContentSettingsBuilder instance.

TemplateHandler(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

templateHandler - System.String

The handler that returs the template for Template

RETURNS

Returns the current DiagramShapeDefaultsContentSettingsBuilder instance.

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

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

template - TemplateBuilder<TModel>

A Template component that configures the template.

RETURNS

Returns the current DiagramShapeDefaultsContentSettingsBuilder instance.

Text(System.String)

The text that is displayed in the shape.

Parameters

value - System.String

The value for Text

RETURNS

Returns the current DiagramShapeDefaultsContentSettingsBuilder instance.