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