public void SaveItem(object item) { if (!this.Control.Items.Contains(item)) { this.Control.Items.Add(item); } ; TableGrid.OnItemsSourceChanged(this.Control, this.Control.Items, this.Control.Items); }
public void DeleteItem(TableGridItem item) { this.Control.Items.Remove(item.Data); TableGrid.OnItemsSourceChanged(this.Control, this.Control.Items, this.Control.Items); }