MvcButton

Models a button to be used on MVC applications.

Namespace:
Inetdev.Web
Type:
Class
Public:
Yes
Protected:
No
Sealed:
No
Abstract:
No
Inherits from:
System.Object

Constructors

MvcButton

Default constructor

Signature:
public Void MvcButton()

MvcButton

Initializes a new instance of MvcButton.

Signature:
public Void MvcButton(text, routeValues)
Parameters
Name Type Summary
text String The text to show.
routeValues Object The route values for the button.

Properties

ActionName

Gets or sets the name of the action.

Signature:
public String ActionName { get; set; }

ControllerName

Gets or set the name of the controller.

Signature:
public String ControllerName { get; set; }

Disabled

Gets or sets whether the button is disabled.

Signature:
public Boolean Disabled { get; set; }

HtmlAttributes

Gets or sets the Html attributes for the button.

Signature:
public Object HtmlAttributes { get; set; }

HtmlIconAttributes

Gets or sets the Html attributes for the icon element.

Signature:
public Object HtmlIconAttributes { get; set; }

RouteValues

Gets or sets the route values for the button.

Signature:
public Object RouteValues { get; set; }

Text

Gets or sets the text of the button.

Signature:
public String Text { get; set; }