# ChatToolbarSettingsBuilder

## Methods

### Animation(System.Boolean)

Configures the animation effects of the Kendo UI Chat toolbar.

#### Parameters

##### enable - `System.Boolean`

Whether the component animation is enabled.

#### RETURNS

Returns the current instance of [ChatToolbarSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chattoolbarsettingsbuilder) for method chaining.

#### 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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/expandableanimationbuilder)>

The action that configures the animation.

#### RETURNS

Returns the current instance of [ChatToolbarSettingsBuilder](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chattoolbarsettingsbuilder) for method chaining.

#### 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](https://www.telerik.com/aspnet-core-ui/documentation/api/kendo.mvc.ui.fluent/chattoolbarsettingsbuttonfactory)>

The configurator for the buttons setting.

#### RETURNS

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

### Scrollable(System.Boolean)

Enables or disables the scrollable behavior of the toolbar.

#### Parameters

##### value - `System.Boolean`

The value for Scrollable

#### RETURNS

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

### Toggleable(System.Boolean)

Enables or disables the toggleable behavior of the toolbar.

#### Parameters

##### value - `System.Boolean`

The value for Toggleable

#### RETURNS

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

### Toggleable()

Enables or disables the toggleable behavior of the toolbar.

#### RETURNS

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