private void Content_Removed(int index, object value)
{
this.Node.RemoveChild(((IContent)value).Node);
//if graphic remove it
if (value is Graphic)
if (this.Document.Graphics.Contains(value as Graphic))
this.Document.Graphics.Remove(value as Graphic);
}