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