/// <summary>
        /// event is fired when the 'DeleteButton' is clicked.
        /// </summary>
        private void DeleteButton_Click(object sender, EventArgs e)
        {
            // if the value for HasParentListEditorHost is true
            if (HasParentListEditorHost)
            {
                // Delete the selected item
                ParentListEditorHost.Delete();
            }

            // Enable controls
            UIEnable();
        }