New to Telerik UI for ASP.NET MVC? Start a free 30-day trial

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: GridToolBarCommandBuilder<T>GridToolBarCustomCommandBuilder<T>GridToolBarFilterCommandBuilder<T>GridToolBarGroupCommandBuilder<T>GridToolBarSaveCommandBuilder<T>GridToolBarSortCommandBuilder<T>...

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

C#
protected GridToolBarCommandBuilderBase(TCommand command)
Parameters:commandTCommand

Properties

Command

TCommand

C#
protected TCommand Command { get; }

Methods

Sets the HTML attributes.

C#
public TBuilder HtmlAttributes(IDictionary<string, object> attributes)
Parameters:attributesIDictionary<string, object>

The HTML attributes.

Returns:

TBuilder

Sets the HTML attributes.

C#
public TBuilder HtmlAttributes(object attributes)
Parameters:attributesobject

The HTML attributes.

Returns:

TBuilder

The class for the web font icon of the button.

C#
public TBuilder IconClass(string iconClass)
Parameters:iconClassstring

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)
Parameters:textstring

The text which should be displayed

Returns:

TBuilder