public void RemoveSelfAndChildren()
{
for (int i = mItems.Count - 1; i > -1; i--)
mItems[i].RemoveSelfAndChildren();
if (parentItem == null)
{
if (null != mParentBox as ListBoxBase)
((ListBoxBase)mParentBox).mItems.Remove(this);
}
else
{
parentItem.mItems.Remove(this);
parentItem.FixCollapseIcon();
}
}