public static WebButton IvsButton(this HtmlHelper helper, string name, CommonData.ButtonCategory category, CommonData.ButtonWebType type) { return(new WebButton(helper, name, category, type)); }
public WebBaseButton SetType(CommonData.ButtonWebType type) { this.ButtonType = type; return(this); }
public static WebButton IvsButton(this HtmlHelper helper, string name, string caption, CommonData.ButtonCategory category, CommonData.ButtonWebType type, object htmlAttribtes) { return(new WebButton(helper, name, caption, category, type, htmlAttribtes)); }
public WebButton(string name, CommonData.ButtonCategory category, CommonData.ButtonWebType type) : this(name, CommonData.StringEmpty, category, type) { }
public WebButton(HtmlHelper helper, string name, string caption, CommonData.ButtonCategory category, CommonData.ButtonWebType type, object htmlAttributes) { base.Helper = helper; base.Name = this._frefixButton + name; base.ButtonCategory = category; base.Caption = caption; base.ButtonType = type; base.IconName = this.GetDefaultIcon(category); base.HtmlAttributes = htmlAttributes; }
public WebButton(HtmlHelper helper, string name, string caption, CommonData.ButtonCategory category, CommonData.ButtonWebType type) { base.Helper = helper; base.Name = name.Contains("btn") ? name : this._frefixButton + name; base.ButtonCategory = category; base.Caption = caption; base.ButtonType = type; base.IconName = this.GetDefaultIcon(category); }
public WebButton(HtmlHelper helper, string name, CommonData.ButtonCategory category, CommonData.ButtonWebType type) : this(helper, name, CommonData.StringEmpty, category, type) { }
public WebButton(CommonData.ButtonCategory category, CommonData.ButtonWebType type) : this(category.ToString(), CommonData.StringEmpty, category, type) { }