Пример #1
0
        /// <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
        }
Пример #2
0
 /// <summary>
 ///
 /// </summary>
 public Builder(TreePanel.Config config) : base(new TreePanel(config))
 {
 }
Пример #3
0
 /// <summary>
 ///
 /// </summary>
 public TreePanel.Builder TreePanel(TreePanel.Config config)
 {
     return(new TreePanel.Builder(new TreePanel(config)));
 }