public void AddDefaultValue(String value) { if (base.defaultValueField == null) { this.InitDefaultField(); } MultiCheckField defaultField = (MultiCheckField)base.defaultValueField; defaultField.AddValue(value); }
public void AddDefaultValueDO(Value value) { if (value == null) { return; } if (base.defaultValueField == null) { this.InitDefaultField(); } MultiCheckField defaultField = (MultiCheckField)base.defaultValueField; defaultField.AddValue(value); }
public void SetDefaultValue(List <String> values) { if (base.defaultValueField == null) { this.InitDefaultField(); } MultiCheckField defaultField = (MultiCheckField)base.defaultValueField; if (defaultField.GetValues() != null && defaultField.GetValues().Count > 0) { defaultField.GetValues().Clear(); } foreach (String v in values) { defaultField.AddValue(v); } }
public void SetDefaultValueDO(List <Value> values) { if (values == null) { return; } if (base.defaultValueField == null) { this.InitDefaultField(); } MultiCheckField defaultField = (MultiCheckField)base.defaultValueField; if (defaultField.GetValues() != null && defaultField.GetValues().Count > 0) { defaultField.GetValues().Clear(); } foreach (Value v in values) { defaultField.AddValue(v); } }