/// <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
        }
예제 #2
0
 /// <summary>
 ///
 /// </summary>
 public Builder(TreeView.Config config) : base(new TreeView(config))
 {
 }
예제 #3
0
 /// <summary>
 ///
 /// </summary>
 public TreeView.Builder TreeView(TreeView.Config config)
 {
     return(new TreeView.Builder(new TreeView(config)));
 }