public override void ElementAdded(ElementAddedEventArgs e)
        {
            ConfigurationElementCollectionHasItemType link = e.ModelElement as ConfigurationElementCollectionHasItemType;

            if (link != null && !link.Store.TransactionManager.CurrentTransaction.IsSerializing)
            {
                // When the item type changes, set the XML item name to the new item type's name but camelCased.
                link.ConfigurationElementCollection.XmlItemName = NamingHelper.ToCamelCase(link.ConfigurationElement.Name);
            }
        }
        public override void ElementDeleted(ElementDeletedEventArgs e)
        {
            ConfigurationElementCollectionHasItemType link = e.ModelElement as ConfigurationElementCollectionHasItemType;

            if (link != null && !link.Store.TransactionManager.CurrentTransaction.IsSerializing)
            {
                if (!link.ConfigurationElementCollection.IsDeleted && !link.ConfigurationElementCollection.IsDeleting)
                {
                    // When the item type changes, set the XML item name to the item type's name but with a lowercase first letter.
                    link.ConfigurationElementCollection.XmlItemName = null;
                }
            }
        }