コード例 #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 BootstrapFormGroupLabeled(html, _model, BootstrapInputType.Custom);

            return(l);
        }
コード例 #2
0
 public override IBootstrapLabel Label()
 {
     IBootstrapLabel l = new BootstrapFormGroupLabeled(html, _model, BootstrapInputType.CheckBox);
     return l;
 }
コード例 #3
0
        public override IBootstrapLabel Label()
        {
            IBootstrapLabel l = new BootstrapFormGroupLabeled(html, _model, BootstrapInputType.Password);

            return(l);
        }
        public override IBootstrapLabel Label()
        {
            IBootstrapLabel l = new BootstrapFormGroupLabeled(html, _model, BootstrapInputType.RadioTrueFalse);

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

            return(l);
        }
        public override IBootstrapLabel Label()
        {
            IBootstrapLabel l = new BootstrapFormGroupLabeled(html, _model, BootstrapInputType.DropDownList);

            return(l);
        }