예제 #1
0
        public IBootstrapLabel LabelFor <TValue>(Expression <Func <TModel, TValue> > expression)
        {
            _model.htmlFieldName = ExpressionHelper.GetExpressionText(expression);
            _model.metadata      = ModelMetadata.FromStringExpression(_model.htmlFieldName, html.ViewData);
            IBootstrapLabel l = new BootstrapControlGroupLabeled(html, _model, BootstrapInputType.Custom);

            return(l);
        }
 public override IBootstrapLabel Label()
 {
     IBootstrapLabel l = new BootstrapControlGroupLabeled(html, _model, BootstrapInputType.File);
     return l;
 }
예제 #3
0
        public override IBootstrapLabel Label()
        {
            IBootstrapLabel l = new BootstrapControlGroupLabeled(html, _model, BootstrapInputType.ListBox);

            return(l);
        }
예제 #4
0
        public override IBootstrapLabel Label()
        {
            IBootstrapLabel l = new BootstrapControlGroupLabeled(html, _model, BootstrapInputType.RadioTrueFalse);

            return(l);
        }
 public IBootstrapLabel Label()
 {
     IBootstrapLabel l = new BootstrapControlGroupLabeled(html, _model, BootstrapInputType.Display);
     return l;
 }
        public IBootstrapLabel Label()
        {
            IBootstrapLabel l = new BootstrapControlGroupLabeled(html, _model, BootstrapInputType.Display);

            return(l);
        }