Example #1
0
        public UISection AddImageTextValue(string src, string text, String value, Web.UIClick click)
        {
            var cell = UICell.Create("ImageTextValue", new UMC.Web.WebMeta().Put("src", src, "value", value, "text", text).Put("click", click));

            this.Add(cell);
            return(this);
        }
Example #2
0
        public UISection AddNumberCell(string text, String value, string title, Web.UIClick submit)
        {
            var cell = UICell.Create("NumberCell", new UMC.Web.WebMeta().Put("text", text, "value", value, "title", title).Put("submit", submit));

            this.Add(cell);
            return(this);
        }
Example #3
0
        public UISection AddImageTextValue(string src, String value, int imageWidth, Web.UIClick click)
        {
            var cell = UICell.Create("ImageTextValue", new UMC.Web.WebMeta().Put("src", src, "value", value).Put("click", click));

            cell.Style.Name("image-width", imageWidth);
            this.Add(cell);
            return(this);
        }
Example #4
0
 public UISection AddCell(char icon, String text, String value, UIClick click)
 {
     return(this.Add(UICell.Create("UI", new WebMeta().Put("value", value, "text", text).Put("Icon", icon).Put("click", click))));
 }
Example #5
0
 public UISection AddCell(String text, String value)
 {
     return(this.Add(UICell.Create("Cell", new WebMeta().Put("value", value, "text", text))));
 }
Example #6
0
 public UISection AddCell(String text, UIClick click)
 {
     return(this.Add(UICell.Create("Cell", new WebMeta().Put("text", text).Put("click", click))));
 }
Example #7
0
 public static UICell Create(params UISlider[] sliders)
 {
     return(UICell.Create("Slider", new WebMeta().Put("data", sliders)));
 }