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