Skip to main content

DropDownButtonItemBuilder Members

Represents a DropDownButton item.

Constructors

Name Description
DropDownButtonItemBuilder(OptionsOwnerContext) For internal use only. Initializes a new DropDownButtonItemBuilder class instance.

Methods

Name Description
Badge(JS) Specifies the text of a badge displayed for the list item. Mirrors the client-side badge option.
Badge(String) Specifies the text of a badge displayed for the list item. Mirrors the client-side badge 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.
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.
Icon(JS) Specifies the list item's icon. Mirrors the client-side icon option.
Icon(String) Specifies the list item's icon. Mirrors the client-side icon option.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
OnClick(RazorBlock) A handler for the click event raised for a certain item in the drop-down field. Mirrors the client-side onClick option.
OnClick(String)
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.
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.
See Also