Defines the fluent interface for configuring 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 GridActionCommandBuilderBase<TCommand, TBuilder> where TCommand : GridActionCommandBase where TBuilder : GridActionCommandBuilderBase<TCommand, TBuilder>
Inheritance: objectGridActionCommandBuilderBase<TCommand, TBuilder>
Derived Classes:
Inherited Members
Constructors
Initializes a new instance of the GridActionCommandBuilderBase<TCommand, TBuilder> class.
public GridActionCommandBuilderBase(TCommand command)
The command.
Properties
Command
TCommand
protected TCommand Command { get; }
Methods
Sets the HTML attributes.
public TBuilder HtmlAttributes(IDictionary<string, object> attributes)
The HTML attributes.
Returns:TBuilder
Sets the HTML attributes.
public TBuilder HtmlAttributes(object attributes)
The HTML attributes.
Returns:TBuilder
Sets the HTML attributes.
public TBuilder HtmlAttributes(string attributesHandler)
The HTML attributes.
Returns:TBuilder
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 template of the command column.
public TBuilder Template(string value)
The value that configures the template.
Returns:TBuilder
Sets the template of the command column.
public TBuilder Template<T>(TemplateBuilder<T> template)
The template component
Returns:TBuilder
The name of the JavaScript function that returns the template of the command column.
The template of the command column.
public TBuilder TemplateId(string value)
The value that configures the template.
Returns:TBuilder
The template of the command column.
public TBuilder TemplateView(MvcHtmlString value)
The value that configures the template.
Returns:TBuilder
Sets the text displayed by the command. If not set a default value is used.
public TBuilder Text(string text)
The text which should be displayed
Returns:TBuilder
Sets the visible function which will determine if the command button will render.
public TBuilder Visible(string handler)
The visible function.
Returns:TBuilder