Skip to main content

ActionSheetItemBuilder Methods

Represents an ActionSheet 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.
Icon(JS) Specifies the icon to be displayed on the action sheet button. Mirrors the client-side icon option.
Icon(String) Specifies the icon to be displayed on the action sheet button. 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 the button representing the given action sheet button. Mirrors the client-side onClick option.
OnClick(String) A handler for the click event raised for the button representing the given action sheet button. Mirrors the client-side onClick 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.
StylingMode(ButtonStylingMode)
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.
Type(ButtonType) Specifies the type of the button that is an action sheet item. Mirrors the client-side type option.
See Also