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