Skip to main content

DropDownBoxItemBuilder Methods

Represents a DropDownBox item.
Name Description
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.
MemberwiseClone() protected Creates a shallow copy of the current Object. Inherited from Object.
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)
Template(RazorBlock)
Template(TemplateName)
Template(String)
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