Models a button to be used on MVC applications.
Default constructor
public Void MvcButton()
Initializes a new instance of MvcButton.
public Void MvcButton(text, routeValues)
Name | Type | Summary |
---|---|---|
text | String | The text to show. |
routeValues | Object | The route values for the button. |
Gets or sets the name of the action.
public String ActionName { get; set; }
Gets or set the name of the controller.
public String ControllerName { get; set; }
Gets or sets whether the button is disabled.
public Boolean Disabled { get; set; }
Gets or sets the Html attributes for the button.
public Object HtmlAttributes { get; set; }
Gets or sets the Html attributes for the icon element.
public Object HtmlIconAttributes { get; set; }
Gets or sets the route values for the button.
public Object RouteValues { get; set; }
Gets or sets the text of the button.
public String Text { get; set; }