New to Telerik UI for ASP.NET Core? Download free 30-day trial

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


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

Animation(System.Action)

Configures the toolbar's toggle animation effects.

Parameters

animationAction - System.Action<ExpandableAnimationBuilder>

The action that configures the animation.

Example


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

Buttons(System.Action)

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

Parameters

configurator - System.Action<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.

In this article
Not finding the help you need?