public virtual void ClearAllElements()
{
if (this.myChildrenNodes != null)
{
for (int i = this.myChildrenNodes.Count - 1; i >= 0; --i)
{
//clear content
myChildrenNodes[i].SetParent(null);
}
this.myChildrenNodes.Clear();
NotifyChange(ElementChangeKind.ClearAllChildren);
}
}