Skip to main content

HtmlEditorToolbarItemBuilder Methods

Represents a toolbar item.
Name Description
AcceptedValues(JS) Specifies values for a format with multiple choices. Should be used with the name. Mirrors the client-side acceptedValues option.
AcceptedValues(IEnumerable<Boolean>) Specifies values for a format with multiple choices. Should be used with the name. Mirrors the client-side acceptedValues option.
AcceptedValues(IEnumerable<Double>) Specifies values for a format with multiple choices. Should be used with the name. Mirrors the client-side acceptedValues option.
AcceptedValues(IEnumerable<String>) Specifies values for a format with multiple choices. Should be used with the name. Mirrors the client-side acceptedValues option.
CssClass(JS) Specifies a CSS class to be applied to the item. Mirrors the client-side cssClass option.
CssClass(String) Specifies a CSS class to be applied to the item. Mirrors the client-side cssClass option.
Disabled(JS) Specifies whether the UI component item responds to user interaction. Mirrors the client-side disabled option.
Disabled(Boolean) Specifies whether the UI component item responds to user interaction. Mirrors the client-side disabled option.
Equals(Object, Object) static Determines whether the specified object instances are considered equal. Inherited from Object.
Equals(Object) Determines whether the specified object is equal to the current object. Inherited from Object.
FormatName(HtmlEditorToolbarItem) Obsolete. Specifies the predefined item that this object customizes or a format with multiple choices. Mirrors the client-side formatName option.
FormatName(JS) Obsolete. Specifies the predefined item that this object customizes or a format with multiple choices. Mirrors the client-side formatName option.
FormatName(String) Obsolete. Specifies the predefined item that this object customizes or a format with multiple choices. Mirrors the client-side formatName option.
FormatValues(JS) Obsolete. Specifies values for a format with multiple choices. Mirrors the client-side formatValues option.
FormatValues(IEnumerable<Boolean>) Obsolete. Specifies values for a format with multiple choices. Mirrors the client-side formatValues option.
FormatValues(IEnumerable<Double>) Obsolete. Specifies values for a format with multiple choices. Mirrors the client-side formatValues option.
FormatValues(IEnumerable<String>) Obsolete. Specifies values for a format with multiple choices. Mirrors the client-side formatValues option.
GetHashCode() Serves as the default hash function. Inherited from Object.
GetType() Gets the Type of the current instance. Inherited from Object.
Html(JS) Specifies the HTML markup to be inserted into the item element. Mirrors the client-side html option.
Html(String) Specifies the HTML markup to be inserted into the item element. Mirrors the client-side html option.
LocateInMenu(ToolbarItemLocateInMenuMode) Specifies when to display an item in the toolbar's overflow menu. Mirrors the client-side locateInMenu option.
Location(ToolbarItemLocation) Mirrors the client-side location option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
MenuItemTemplate(JS) Specifies the client-side menuItemTemplate.
MenuItemTemplate(RazorBlock) Specifies the client-side menuItemTemplate.
MenuItemTemplate(TemplateName) Specifies the client-side menuItemTemplate.
MenuItemTemplate(String) Specifies the client-side menuItemTemplate.
Name(HtmlEditorToolbarItem) Specifies the predefined item that this object customizes or a format with multiple choices. Mirrors the client-side name option.
Name(JS) Specifies the predefined item that this object customizes or a format with multiple choices. Mirrors the client-side name option.
Name(String) Specifies the predefined item that this object customizes or a format with multiple choices. Mirrors the client-side name option.
Option(String, Object) Specifies an option by its name.
ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance. Inherited from Object.
ShowText(ToolbarItemShowTextMode) Specifies when to display the text for the UI component item. Mirrors the client-side showText option.
Template(JS) Specifies the client-side template.
Template(RazorBlock) Specifies the client-side template.
Template(TemplateName) Specifies the client-side template.
Template(String) Specifies the client-side template.
Text(JS) Specifies text displayed for the UI component item. Mirrors the client-side text option.
Text(String) Specifies text displayed for the UI component item. Mirrors the client-side text option.
ToString() Returns a string that represents the current object. Inherited from Object.
Visible(JS) Specifies whether or not a UI component item must be displayed. Mirrors the client-side visible option.
Visible(Boolean) Specifies whether or not a UI component item must be displayed. Mirrors the client-side visible option.
Widget(Func<ToolbarItemFactory, WidgetBuilder>) Configures a control that represents a toolbar item.
See Also