Kendo.Mvc.UI.Fluent.ImageEditorToolbarSettingsItemBuilder

Defines the fluent API for configuring the ImageEditorToolbarSettingsItem settings.

Methods

Type(System.String)

Specifies the type of the button.

Parameters

value System.String

The value that configures the type.

Overflow(System.String)

Specifies the overflow of the button.

Parameters

value System.String

The value that configures the overflow.

Click(System.Func<System.Object,System.Object>)

Specifies the click handler of the button.

Parameters

handler System.Func<System.Object,System.Object>

The value that configures the click action.

Click(System.String)

Specifies the click handler of the button.

Parameters

handler System.String

The value that configures the click action.

Command(System.String)

Specifies the command of the button.

Parameters

value System.String

The value that configures the command.

Options(System.String)

Specifies the command options of the button.

Parameters

value System.String

The value that configures the options.

Name(System.String)

Specifies the name of the button.

Parameters

value System.String

The value that configures the name.

Togglable(System.Boolean)

Specifies if the button is togglable, e.g. has a selected and unselected state.

Parameters

value System.Boolean

The value that configures the togglable.

Text(System.String)

Sets the text of the button.

Parameters

value System.String

The value that configures the text.

Template(System.String)

Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.

Parameters

value System.String

The value that configures the template.

TemplateId(System.String)

Specifies what element will be added in the ToolBar wrapper. Items with template does not have a type.

Parameters

value System.String

The value that configures the template.

ShowText(System.String)

Specifies where the text will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).

Parameters

value System.String

The value that configures the showtext.

Primary(System.Boolean)

Specifies whether the button is primary. Primary buttons receive different styling.

Parameters

value System.Boolean

The value that configures the primary.

HtmlAttributes(System.Object)

Specifies the HTML attributes of a ToolBar button.

Parameters

value System.Object

The value that configures the htmlattributes.

HtmlAttributes(System.Collections.Generic.IDictionary<System.String,System.Object>)

Specifies the HTML attributes of a ToolBar button.

Parameters

value System.Collections.Generic.IDictionary<System.String,System.Object>

The value that configures the htmlattributes.

Enable(System.Boolean)

Specifies whether the control is initially enabled or disabled. Default value is "true".

Parameters

value System.Boolean

The value that configures the enable.

Hidden(System.Boolean)

Determines if a button is visible or hidden. By default buttons are visible.

Parameters

value System.Boolean

The value that configures the hidden.

SpriteCssClass(System.String)

Defines a CSS class (or multiple classes separated by spaces) which will be used for button icon.

Parameters

value System.String

The value that configures the spritecssclass.

ImageUrl(System.String)

If set, the ToolBar will render an image with the specified URL in the button.

Parameters

value System.String

The value that configures the imageurl.

ShowIcon(System.String)

Specifies where the button icon will be displayed. Possible values are: "toolbar", "overflow" or "both" (default).

Parameters

value System.String

The value that configures the showicon.

Icon(System.String)

Sets icon for the item. The icon should be one of the existing in the Kendo UI theme sprite.

Parameters

value System.String

The value that configures the icon.

Id(System.String)

Specifies the ID of the button.

Parameters

value System.String

The value that configures the id.

In this article
Not finding the help you need?