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