public TableGridFichasItem(object data, TableGridFichas tableGrid) { this.Edit = new Command(() => this.tableGrid.EditItems(this)); this.Delete = new Command(() => { this.tableGrid.DeleteItem(this); }); this.IsVisible = tableGrid.CanEdit; this.Data = data; this.tableGrid = tableGrid; }
public TableGridFichasViewModel(TableGridFichas control) { this.Control = control; }