The requested page is not available for the requested platform. You are viewing the content for Default platform.

ToolbarItemBuilder Methods

An array of items displayed by the widget.

Name Description
CssClass(JS)

Specifies a CSS class to be applied to the item.

CssClass(String)

Specifies a CSS class to be applied to the item.

Disabled(Boolean)

Specifies whether or not a widget item must be displayed disabled.

Disabled(JS)

Specifies whether or not a widget item must be displayed disabled.

Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) Determines whether the specified object instances are considered equal.
(Inherited from Object)
GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetType() Gets the Type of the current instance.
(Inherited from Object)
Html(JS)

Specifies html code inserted into the widget item element.

Html(String)

Specifies html code inserted into the widget item element.

LocateInMenu(ToolbarItemLocateInMenuMode)

Specifies when to display an item in the toolbar's overflow menu.

Location(ToolbarItemLocation)

Specifies a location for the item on the toolbar.

MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
MenuItemTemplate(JS)

Specifies a template that should be used to render a menu item.

MenuItemTemplate(RazorBlock)

Specifies a template that should be used to render a menu item.

MenuItemTemplate(String)

Specifies a template that should be used to render a menu item.

MenuItemTemplate(TemplateName)

Specifies a template that should be used to render a menu item.

Option(String, Object)

Allows to specify an arbitrary option by its name.

ReferenceEquals(Object, Object) Determines whether the specified Object instances are the same instance.
(Inherited from Object)
ShowText(ToolbarItemShowTextMode)

Specifies when to display the text for the widget item.

Template(JS)

Specifies an item template that should be used to render this item only.

Template(RazorBlock)

Specifies an item template that should be used to render this item only.

Template(String)

Specifies an item template that should be used to render this item only.

Template(TemplateName)

Specifies an item template that should be used to render this item only.

Text(JS)

Specifies text displayed for the widget item.

Text(String)

Specifies text displayed for the widget item.

ToString() Returns a string that represents the current object.
(Inherited from Object)
Visible(Boolean)

Specifies whether or not a widget item must be displayed.

Visible(JS)

Specifies whether or not a widget item must be displayed.

Widget(Func<ToolbarItemFactory, WidgetBuilder>)

A widget that presents a toolbar item.

See Also