Defines the fluent API for configuring the FileManagerToolbarSettingsItem settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class FileManagerToolbarSettingsItemBuilder
Inheritance: objectFileManagerToolbarSettingsItemBuilder
Inherited Members
Constructors
Initialize the FileManagerToolbarSettingsItemBuilder
public FileManagerToolbarSettingsItemBuilder(FileManagerToolbarSettingsItem settings)
Methods
Specifies the click handler of the button.
public FileManagerToolbarSettingsItemBuilder Click(string handler)
The value that configures the click action.
Returns:Specifies the command of the button.
public FileManagerToolbarSettingsItemBuilder Command(string value)
The value that configures the command.
Returns:Specifies whether the control is initially enabled or disabled. Default value is "true".
public FileManagerToolbarSettingsItemBuilder Enable(bool value)
The value that configures the enable.
Returns:Determines if a button is visible or hidden. By default buttons are visible.
public FileManagerToolbarSettingsItemBuilder Hidden(bool value)
The value that configures the hidden.
Returns:Specifies the HTML attributes of a ToolBar button.
public FileManagerToolbarSettingsItemBuilder HtmlAttributes(IDictionary<string, object> value)
The value that configures the htmlattributes.
Returns:Specifies the HTML attributes of a ToolBar button.
public FileManagerToolbarSettingsItemBuilder HtmlAttributes(object value)
The value that configures the htmlattributes.
Returns:Sets icon for the item. The icon should be one of the existing in the Kendo UI theme sprite.
public FileManagerToolbarSettingsItemBuilder Icon(string value)
The value that configures the icon.
Returns:Specifies the ID of the button.
public FileManagerToolbarSettingsItemBuilder Id(string value)
The value that configures the id.
Returns:If set, the ToolBar will render an image with the specified URL in the button.
public FileManagerToolbarSettingsItemBuilder ImageUrl(string value)
The value that configures the imageurl.
Returns:Specifies the name of the button.
public FileManagerToolbarSettingsItemBuilder Name(string value)
The value that configures the name.
Returns:Specifies the command options of the button.
public FileManagerToolbarSettingsItemBuilder Options(string value)
The value that configures the options.
Returns:Specifies the overflow of the button.
public FileManagerToolbarSettingsItemBuilder Overflow(string value)
The value that configures the overflow.
Returns:Specifies whether the button is primary. Primary buttons receive different styling.
public FileManagerToolbarSettingsItemBuilder Primary(bool value)
The value that configures the primary.
Returns:Specifies where the button icon will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).
public FileManagerToolbarSettingsItemBuilder ShowIcon(string value)
The value that configures the showicon.
Returns:Specifies where the text will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).
public FileManagerToolbarSettingsItemBuilder ShowText(string value)
The value that configures the showtext.
Returns:Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.
public FileManagerToolbarSettingsItemBuilder SpriteCssClass(string value)
The value that configures the spritecssclass.
Returns:Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public FileManagerToolbarSettingsItemBuilder Template(string value)
The value that configures the template.
Returns:Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public FileManagerToolbarSettingsItemBuilder Template<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the template.
Returns:Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public FileManagerToolbarSettingsItemBuilder TemplateHandler(string value)
The value that configures the template.
Returns:Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public FileManagerToolbarSettingsItemBuilder TemplateId(string value)
The value that configures the template.
Returns:Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.
public FileManagerToolbarSettingsItemBuilder TemplateView(MvcHtmlString value)
The value that configures the template.
Returns:Sets the text of the button.
public FileManagerToolbarSettingsItemBuilder Text(string value)
The value that configures the text.
Returns:Specifies if the button is togglable, e.g. has a selected and unselected state.
public FileManagerToolbarSettingsItemBuilder Togglable(bool value)
The value that configures the togglable.
Returns:Specifies the type of the button.
public FileManagerToolbarSettingsItemBuilder Type(string value)
The value that configures the type.
Returns: