AspNetEdit.Editor.ComponentModel.DesignContainer.OnComponentRename C# (CSharp) Method

OnComponentRename() protected method

protected OnComponentRename ( object component, string oldName, string newName ) : void
component object
oldName string
newName string
return void
        protected void OnComponentRename(object component, string oldName, string newName)
        {
            host.RootDocument.RenameControl (oldName, newName);

            if (ComponentRename != null)
                ComponentRename (this, new ComponentRenameEventArgs (component, oldName, newName));
        }