Beispiel #1
0
 public UIDisplayParams(string key,
                        string unit            = null,
                        UIControlFormat format = UIControlFormat.String,
                        string cssClass        = "form-control",
                        string style           = null)
 {
     this.Key      = key;
     this.Unit     = unit;
     this.Format   = format;
     this.CssClass = cssClass;
     this.Style    = style;
 }
Beispiel #2
0
 public UIControlParams(string key,
                        UIControlMode model    = UIControlMode.Standard,
                        string unit            = null,
                        UIControlType type     = UIControlType.TextBox,
                        UIControlFormat format = UIControlFormat.String,
                        string cssClass        = "form-control",
                        string style           = null)
 {
     this.Key      = key;
     this.Model    = model;
     this.Unit     = unit;
     this.Type     = type;
     this.Format   = format;
     this.CssClass = cssClass;
     this.Style    = style;
 }