/// <summary> /// /// </summary> public Toolbar.Builder Toolbar(Toolbar.Config config) { #if MVC return(new Toolbar.Builder(new Toolbar(config) { ViewContext = this.HtmlHelper != null ? this.HtmlHelper.ViewContext : null })); #else return(new Toolbar.Builder(new Toolbar(config))); #endif }
/// <summary> /// /// </summary> public Builder(Toolbar.Config config) : base(new Toolbar(config)) { }
/// <summary> /// /// </summary> public Toolbar.Builder Toolbar(Toolbar.Config config) { return(new Toolbar.Builder(new Toolbar(config))); }