Defines the fluent API for configuring the PropertyGridToolbar settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Type Parameters:
T
Syntax:
public class PropertyGridToolbarBuilder<T> where T : class
Inheritance: objectPropertyGridToolbarBuilder<T>
Inherited Members
Constructors
Initialize the PropertyGridToolbarBuilder
public PropertyGridToolbarBuilder(PropertyGridToolbar settings)
Methods
The click handler of the toolbar command. Used for custom toolbar commands.
public PropertyGridToolbarBuilder<T> Click(string handler)
The value that configures the click action.
Returns:Specifies the icon's name that will be rendered inside the toolbar button. When you set this option, the PropertyGrid renders an additional span element inside the toolbar button which has a name set to the option value. This approach allows you to display an icon inside your custom toolbar commands.
public PropertyGridToolbarBuilder<T> Icon(string value)
The value that configures the icon.
Returns:A class name that will be rendered inside the toolbar button. When you set this option, the PropertyGrid renders an additional span element inside the toolbar button which has a class name set to the option value. This approach allows you to display an icon inside your custom toolbar commands.
public PropertyGridToolbarBuilder<T> ImageClass(string value)
The value that configures the imageclass.
Returns:The name of the toolbar command. Can be either a built-in ("search", "sort", "group" or "details") or a custom string. The name is output in the HTML as a value of the data-command attribute of the button.
public PropertyGridToolbarBuilder<T> Name(string value)
The value that configures the name.
Returns:The text that is displayed by the command button. If not set, the PropertyGrid will use the name option as the button text instead.
public PropertyGridToolbarBuilder<T> Text(string value)
The value that configures the text.
Returns: