public static UIField GetField(string name, string title, UIFieldTypes fieldType, string key) { return(new UIField { Name = name, Title = title, FieldType = fieldType, ViewBagKey = key }); }
public static UIField GetField(string name, string title, string dropdownLabelBinding, string dropdownResultBinding, string caption, UIFieldTypes fieldType) { return(new UIField { Name = name, Title = title, FieldType = fieldType, DropdownDetailsBind = dropdownLabelBinding, DropdownResult = dropdownResultBinding, Caption = caption }); }