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