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