protected override ConfigurationElement CreateNewElement() { var elm = new ControlConfigElement(); elm.ControlName = $"Control{Count + 1}"; return(elm); }
protected override object GetElementKey(ConfigurationElement element) { ControlConfigElement elm = element as ControlConfigElement; if (null == elm) { return(null); } return(elm.ControlName); }