Example #1
0
        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;
        }
Example #2
0
 public TableGridFichasViewModel(TableGridFichas control)
 {
     this.Control = control;
 }