ChatToolbarSettingsButtonBuilder
Methods
Attr(System.Object)
Defines the attributes of the button.
Parameters
attributes - System.Object
The object to be mapped to the attribute collection
Example
@(Html.Kendo().Chat()
.Name("chat")
.Toolbar(toolbar =>
{
toolbar.Toggleable(true);
toolbar.Buttons(buttons =>
{
buttons.Add().Name("Button").IconClass("k-icon k-i-image").Attr(new { style = "border-color:red" });
});
})
)
Name(System.String)
Defines the name of the button.
Parameters
value - System.String
The value for Name
Text(System.String)
Defines the text that will be rendered in the button.
Parameters
value - System.String
The value for Text
IconClass(System.String)
Defines the icon classes of the span that is rendered in the button.
Parameters
value - System.String
The value for IconClass