public Link(string name, string caption, string href) { this.name = name; this.caption = caption; this.href = href; visible = true; script = new ScriptProperty(); }
public CheckBox(string name) { this.name = name; isChecked = false; disabled = false; width = new StyleLength(100F, LengthUnits.Percentage); script = new ScriptProperty(); cssClass = string.Empty; }
public Image(string name, string uri) { this.name = name; this.uri = uri; this.width = new StyleLength(); this.height = new StyleLength(); this.script = new ScriptProperty(); this.styleClass = string.Empty; }
/// <summary> /// Select box constructor. /// </summary> /// <param name="name">Select box name</param> public SelectBox(string name) { this.name = name; items = new List<SelectBoxItem>(); itemKeys = new Dictionary<string, SelectBoxItem>(); visible = true; width = new StyleLength(); script = new ScriptProperty(); }
public TextBox(string name) { this.name = name; disabled = false; visible = true; maxLength = -1; lines = 1; width = new StyleLength(100F, LengthUnits.Percentage); script = new ScriptProperty(); type = InputType.Text; }
public UserSelectBox(Core core, string name, List<long> userIds) { this.core = core; this.name = name; this.userIds = userIds; disabled = false; visible = true; width = new StyleLength(100F, LengthUnits.Percentage); script = new ScriptProperty(); }
public TagSelectBox(Core core, string name) { this.core = core; this.name = name; disabled = false; visible = true; tagIds = new List<long>(); width = new StyleLength(100F, LengthUnits.Percentage); script = new ScriptProperty(); }
public PermissionGroupSelectBox(Core core, string name, ItemKey permissibleItem, List<PrimitivePermissionGroup> itemKeys) { this.core = core; this.name = name; this.permissibleItem = permissibleItem; this.itemKeys = itemKeys; disabled = false; visible = true; width = new StyleLength(100F, LengthUnits.Percentage); script = new ScriptProperty(); }