BootstrapMvcHelpers.Bootstrap.Button C# (CSharp) Метод

Button() публичный статический Метод

Renders a Twitter Bootstrap Button Component
public static Button ( this helper, string text, string action, string controller = "", ButtonStatus status = ButtonStatus.Default, object htmlAttributes = null ) : System.Web.Mvc.MvcHtmlString
helper this The helper.
text string The text.
action string The action.
controller string The controller.
status ButtonStatus The status.
htmlAttributes object The HTML attributes.
Результат System.Web.Mvc.MvcHtmlString
        public static MvcHtmlString Button(this HtmlHelper helper, string text, string action, string controller="", ButtonStatus status = ButtonStatus.Default, object htmlAttributes = null)
        {
            ButtonHelper button = new ButtonHelper(helper, GetStatusStrategy(status), text, action, controller, status, htmlAttributes);
            return new MvcHtmlString(button.Render());
        }