ChatMessagesSettingsBuilder

Methods

Placeholder(System.String)

The hint displayed in the input textbox of the widget.

Parameters

value - System.String

The value for Placeholder

Example

Razor
 
            	@(Html.Kendo().Chat()
            	    .Name("chat")
            	    .Messages(m => m.Placeholder("Placeholder value ..."))
            	)
             

SendButton(System.String)

The title and the aria-label attribute of the message box send button.

Parameters

value - System.String

The value for Send Button title and aria-label

Example

Razor
 
            	@(Html.Kendo().Chat()
            	    .Name("chat")
            	    .Messages(m => m.SendButton("Send"))
            	)
             

ToggleButton(System.String)

The title and the aria-label attribute of the toggle toolbar button.

Parameters

value - System.String

The value for Toggle Button title and aria-label

Example

Razor
 
            	@(Html.Kendo().Chat()
            		.Name("chat")
            		.Toolbar(toolbar =>
            		{
            			toolbar.Toggleable(true);
            			toolbar.Buttons(buttons =>
            			{
            				buttons.Add("Button");
            			});
            		})
            		.Messages(m =>  m.ToggleButton("Toggle Button"))
            	)