ListItemBuilder Methods
Represents a List item.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. |
Key(JS) | Specifies the name of the list items group in a grouped list. Mirrors the client-side key option. |
Key(String) | Specifies the name of the list items group in a grouped list. Mirrors the client-side key 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. |
ShowChevron(JS) | Specifies whether or not to display a chevron for the list item. Mirrors the client-side showChevron option. |
ShowChevron(Boolean) | Specifies whether or not to display a chevron for the list item. Mirrors the client-side showChevron 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. |
See Also