New to Telerik UI for ASP.NET Core? 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:

TCommand

The type of the command.

TBuilder

The type of the builder.

Syntax:

C#
public abstract class GridToolBarCommandBuilderBase<TCommand, TBuilder> where TCommand : GridActionCommandBase where TBuilder : GridToolBarCommandBuilderBase<TCommand, TBuilder>

Inheritance: objectGridToolBarCommandBuilderBase<TCommand, TBuilder>

Derived Classes: GridToolBarCommandBuilderGridToolBarCustomCommandBuilderGridToolBarFilterCommandBuilderGridToolBarGroupCommandBuilderGridToolBarSaveCommandBuilderGridToolBarSortCommandBuilder...

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

Constructors

GridToolBarCommandBuilderBase method.

C#
protected GridToolBarCommandBuilderBase(TCommand command)
Parameters:commandTCommand

Properties

Command

TCommand

Gets or sets the Command.

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

The current instance of the TBuilder builder.

Sets the HTML attributes.

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

The HTML attributes.

Returns:

TBuilder

The current instance of the TBuilder builder.

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

The current instance of the TBuilder builder.

Sets the text displayed in the button.

C#
public TBuilder Text(string text)
Parameters:textstring

The text which should be displayed

Returns:

TBuilder

The current instance of the TBuilder builder.