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