# 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 for Align

#### RETURNS

Returns the current [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) instance.

### Color(System.String)

The color of the shape content text.

#### Parameters

##### value - `System.String`

The value for Color

#### RETURNS

Returns the current [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) instance.

### FontFamily(System.String)

The font family of the shape content text.

#### Parameters

##### value - `System.String`

The value for FontFamily

#### RETURNS

Returns the current [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) instance.

### FontSize(System.Double)

The font size of the shape content text.

#### Parameters

##### value - `System.Double`

The value for FontSize

#### RETURNS

Returns the current [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) instance.

### FontStyle(System.String)

The font style of the shape content text.

#### Parameters

##### value - `System.String`

The value for FontStyle

#### RETURNS

Returns the current [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) instance.

### FontWeight(System.String)

The font weight of the shape content text.

#### Parameters

##### value - `System.String`

The value for FontWeight

#### RETURNS

Returns the current [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) instance.

### Template(System.String)

The template which renders the labels.

#### Parameters

##### value - `System.String`

The value for Template

#### RETURNS

Returns the current [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) instance.

### TemplateId(System.String)

The template which renders the labels.

#### Parameters

##### templateId - `System.String`

The ID of the template element for Template

#### RETURNS

Returns the current [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) instance.

### TemplateView(Microsoft.AspNetCore.Html.IHtmlContent)

The template which renders the labels.

#### Parameters

##### templateView - `Microsoft.AspNetCore.Html.IHtmlContent`

The view that contains the template for Template

#### RETURNS

Returns the current [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) instance.

### TemplateHandler(System.String)

The template which renders the labels.

#### Parameters

##### templateHandler - `System.String`

The handler that returs the template for Template

#### RETURNS

Returns the current [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) instance.

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

The template which renders the labels.

#### Parameters

##### template - TemplateBuilder\<TModel>

A Template component that configures the template.

#### RETURNS

Returns the current [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) instance.

### Text(System.String)

The text displayed in the shape.

#### Parameters

##### value - `System.String`

The value for Text

#### RETURNS

Returns the current [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) instance.

### LineSpacing(System.Double)

The line spacing of the content text.

#### Parameters

##### value - `System.Double`

The value for LineSpacing

#### RETURNS

Returns the current [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) instance.

### Padding(System.Action)

The padding of the content.

#### Parameters

##### configurator - System.Action<[DiagramShapeContentPaddingSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentpaddingsettingsbuilder)>

The configurator for the padding setting.

#### RETURNS

Returns the current instance of [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) .

### RelativePadding(System.Action)

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

#### Parameters

##### configurator - System.Action<[DiagramShapeContentRelativePaddingSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentrelativepaddingsettingsbuilder)>

The configurator for the relativepadding setting.

#### RETURNS

Returns the current instance of [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) .

### TextWrap(Kendo.Mvc.UI.ShapeTextWrap)

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

#### Parameters

##### value - [ShapeTextWrap](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui/shapetextwrap)

The value for TextWrap

#### RETURNS

Returns the current [DiagramShapeContentSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/diagramshapecontentsettingsbuilder) instance.
