コード例 #1
0
        protected override ConfigurationElement CreateNewElement()
        {
            var elm = new PanelConfigElement();

            elm.PanelName = $"Panel{Count + 1}";
            return(elm);
        }
コード例 #2
0
        protected override object GetElementKey(ConfigurationElement element)
        {
            PanelConfigElement elm = element as PanelConfigElement;

            if (null == elm)
            {
                return(null);
            }
            return(elm.PanelName);
        }