예제 #1
0
 public HtmlDatePicker(string name)
     : base(name, "text")
 {
     attributes.Add(attrPlaceholder    = new AttrPlaceholder());
     attributes.Add(attrDataDateFormat = new AttrDataDateFormat());
     attributes.Add(attrDataProvide    = new AttrDataProvide("datepicker"));
     attributes.Add(attrAutoComplete   = new AttrAutoComplete());
 }
예제 #2
0
        public HtmlTextArea(string name)
            : base(name, "")
        {
            attributes.Add(attrPlaceholder = new AttrPlaceholder());

            attributes.Add(attrRows = new AttrRows());

            attributes.Add(attrCols = new AttrCols());
        }
예제 #3
0
        public HtmlNumberBox(string name)
            : base(name, "number")
        {
            attributes.Add(attrPlaceholder = new AttrPlaceholder());

            attributes.Add(attrMin = new AttrMin());

            attributes.Add(attrMax = new AttrMax());

            attributes.Add(attrStep = new AttrStep());
        }
예제 #4
0
        public HtmlTextBox(string name)
            : base(name, "text")
        {
            attributes.Add(attrPlaceholder = new AttrPlaceholder());

            attributes.Add(attrDataNumber = new AttrDataNumber());

            attributes.Add(attrDataMin = new AttrDataMin());

            attributes.Add(attrDataMax = new AttrDataMax());

            attributes.Add(attrDataStep = new AttrDataStep());

            attributes.Add(attrDataPrecision = new AttrDataPrecision());

            events.Add(eventChange = new EventChange());

            events.Add(eventFocus = new EventFocus());

            events.Add(eventBlur = new EventBlur());
        }
예제 #5
0
 public HtmlPasswordBox(string name)
     : base(name, "password")
 {
     attributes.Add(attrPlaceholder = new AttrPlaceholder());
 }