ChatMessageBoxSettingsBuilder

Methods

Mode(System.String)

The input mode for the message box: "single": Single-line text input; "multi": Multi-line textarea with fixed rows or "auto": Auto-expanding textarea that grows as the user types.

Parameters

value - System.String

The value that configures the mode.

Rows(System.Double)

The initial number of visible rows when mode is "multi".

Parameters

value - System.Double

The value that configures the rows.

MaxTextAreaHeight(System.Double)

The maximum height of the textarea in pixels. When set, the textarea will stop expanding and show a scrollbar.

Parameters

value - System.Double

The value that configures the maxtextareaheight.

StartAffixTemplateHandler(System.String)

Defines a custom template for the start affix area of the built-in message box. The start affix is positioned before the input field. This option applies when messageBoxTemplate is not set.

Parameters

value - System.String

The value that configures the startaffixtemplate.

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

Defines a custom template for the start affix area of the built-in message box. The start affix is positioned before the input field. This option applies when messageBoxTemplate is not set.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the startaffixtemplate.

EndAffixTemplateHandler(System.String)

Defines a custom template for the end affix area of the built-in message box. The end affix is positioned after the input field and alongside the built-in action area. This option applies when messageBoxTemplate is not set.

Parameters

value - System.String

The value that configures the endaffixtemplate.

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

Defines a custom template for the end affix area of the built-in message box. The end affix is positioned after the input field and alongside the built-in action area. This option applies when messageBoxTemplate is not set.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the endaffixtemplate.

TopAffixTemplateHandler(System.String)

Defines a custom template for the top affix area of the built-in message box. The top affix is rendered above the content area and is visible in multi-line mode only. This option applies when messageBoxTemplate is not set.

Parameters

value - System.String

The value that configures the topaffixtemplate.

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

Defines a custom template for the top affix area of the built-in message box. The top affix is rendered above the content area and is visible in multi-line mode only. This option applies when messageBoxTemplate is not set.

Parameters

template - TemplateBuilder<TModel>

A Template component that configures the topaffixtemplate.