AODL.Document.Content.Draw.Frame.Content_Removed C# (CSharp) Method

Content_Removed() private method

Content_s the removed.
private Content_Removed ( int index, object value ) : void
index int The index.
value object The value.
return void
		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);
		}