Defines the fluent API for configuring the ImageEditorToolbarSettingsItem settings.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ImageEditorToolbarSettingsItemBuilder
Inheritance: objectImageEditorToolbarSettingsItemBuilder
Inherited Members
Constructors
Initialize the ImageEditorToolbarSettingsItemBuilder
public ImageEditorToolbarSettingsItemBuilder(ImageEditorToolbarSettingsItem settings)
Methods
Specifies the click handler of the button.
public ImageEditorToolbarSettingsItemBuilder Click(string handler)
The value that configures the click action.
Returns:Specifies the command of the button.
public ImageEditorToolbarSettingsItemBuilder Command(string value)
The value that configures the command.
Returns:Specifies whether the control is initially enabled or disabled. Default value is "true".
public ImageEditorToolbarSettingsItemBuilder Enable(bool value)
The value that configures the enable.
Returns:Determines if a button is visible or hidden. By default buttons are visible.
public ImageEditorToolbarSettingsItemBuilder Hidden(bool value)
The value that configures the hidden.
Returns:Specifies the HTML attributes of a ToolBar button.
public ImageEditorToolbarSettingsItemBuilder HtmlAttributes(IDictionary<string, object> value)
The value that configures the htmlattributes.
Returns:Specifies the HTML attributes of a ToolBar button.
public ImageEditorToolbarSettingsItemBuilder 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 ImageEditorToolbarSettingsItemBuilder Icon(string value)
The value that configures the icon.
Returns:Specifies the ID of the button.
public ImageEditorToolbarSettingsItemBuilder 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 ImageEditorToolbarSettingsItemBuilder ImageUrl(string value)
The value that configures the imageurl.
Returns:Specifies the name of the button.
public ImageEditorToolbarSettingsItemBuilder Name(string value)
The value that configures the name.
Returns:Specifies the command options of the button.
public ImageEditorToolbarSettingsItemBuilder Options(string value)
The value that configures the options.
Returns:Specifies the overflow of the button.
public ImageEditorToolbarSettingsItemBuilder Overflow(string value)
The value that configures the overflow.
Returns:Specifies whether the button is primary. Primary buttons receive different styling.
public ImageEditorToolbarSettingsItemBuilder 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 ImageEditorToolbarSettingsItemBuilder 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 ImageEditorToolbarSettingsItemBuilder 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 ImageEditorToolbarSettingsItemBuilder 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 ImageEditorToolbarSettingsItemBuilder 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 ImageEditorToolbarSettingsItemBuilder 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 ImageEditorToolbarSettingsItemBuilder 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 ImageEditorToolbarSettingsItemBuilder 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 ImageEditorToolbarSettingsItemBuilder TemplateView(MvcHtmlString value)
The value that configures the template.
Returns:Sets the text of the button.
public ImageEditorToolbarSettingsItemBuilder 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 ImageEditorToolbarSettingsItemBuilder Togglable(bool value)
The value that configures the togglable.
Returns:Specifies the type of the button.
public ImageEditorToolbarSettingsItemBuilder Type(string value)
The value that configures the type.
Returns: