Kendo.Mvc.UI.Fluent.ChatToolbarSettingsBuilder

Defines the fluent API for configuring ChatToolbarSettings

Methods

Animation(System.Boolean)

Configures the animation effects of the Kendo UI Chat toolbar.

Parameters

enable System.Boolean

Whether the component animation is enabled.

Example (ASPX)

<%= Html.Kendo().Chat()
    .Name("Chat")
    .Toolbar(toolbar => {
        toolbar.Animation(false);
    })

Animation(System.Action<Kendo.Mvc.UI.Fluent.ExpandableAnimationBuilder>)

Configures the toolbar's toggle animation effects.

Parameters

animationAction System.Action<Kendo.Mvc.UI.Fluent.ExpandableAnimationBuilder>

The action that configures the animation.

Example (ASPX)

<%= Html.Kendo().Chat()
    .Name("Chat")
    .Toolbar(toolbar => {
        toolbar.Animation(animation => animation.Expand(config => config.Fade(FadeDirection.In)));
    })

Buttons(System.Action<Kendo.Mvc.UI.Fluent.ChatToolbarSettingsButtonFactory>)

Defines the collection of buttons to be rendered. When using only an array of strings, the string added will define the name option of the button.

Parameters

configurator System.Action<Kendo.Mvc.UI.Fluent.ChatToolbarSettingsButtonFactory>

The configurator for the buttons setting.

Scrollable(System.Boolean)

Enables or disables the scrollable behavior of the toolbar.

Parameters

value System.Boolean

The value for Scrollable

Toggleable(System.Boolean)

Enables or disables the toggleable behavior of the toolbar.

Parameters

value System.Boolean

The value for Toggleable

Toggleable

Enables or disables the toggleable behavior of the toolbar.