private void OnItemRemoving(object sender, EventArgs e) { var item = sender as T; if (item == null) { return; } AssotiatedCollection.Remove(item); }
private void OnAddNewItem(object o) { var item = _defaultFactory.Create(); AssotiatedCollection?.Add(item); }