Defines the fluent interface for configuring toolbar command.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
TCommand
The type of the command.
TBuilder
The type of the builder.
Syntax:
public abstract class GridToolBarCommandBuilderBase<TCommand, TBuilder> where TCommand : GridActionCommandBase where TBuilder : GridToolBarCommandBuilderBase<TCommand, TBuilder>
Inheritance: objectGridToolBarCommandBuilderBase<TCommand, TBuilder>
Derived Classes:
Inherited Members
Constructors
GridToolBarCommandBuilderBase method.
protected GridToolBarCommandBuilderBase(TCommand command)
Properties
Command
TCommand
Gets or sets the Command.
protected TCommand Command { get; }
Methods
Sets the HTML attributes.
public TBuilder HtmlAttributes(IDictionary<string, object> attributes)
The HTML attributes.
Returns:TBuilder
The current instance of the TBuilder builder.
Sets the HTML attributes.
public TBuilder HtmlAttributes(object attributes)
The HTML attributes.
Returns:TBuilder
The current instance of the TBuilder builder.
The class for the web font icon of the button.
public TBuilder IconClass(string iconClass)
The class for the web font icon of the button
Returns:TBuilder
The current instance of the TBuilder builder.
Sets the text displayed in the button.
public TBuilder Text(string text)
The text which should be displayed
Returns:TBuilder
The current instance of the TBuilder builder.