Exemple #1
0
        public static MvcHtmlString ActionButton(this HtmlHelper helper, string text, string icon = null, BootstrapColorTheme theme = BootstrapColorTheme.Default)
        {
            TagBuilder tb = new TagBuilder("a");

            tb.AddClassName("btn");
            tb.AddClassName(theme.ToClassName("btn"));
        }