private void Content_Inserted(int index, object value) { if (value is Table) if (!this.TableCollection.Contains((Table)value)) this.TableCollection.Add(value as Table); }