protected void onSelectTabChancged(object sender, SelectionChangedEventArgs e) { if (auditTabItem.IsSelected) { if (InputTableService != null && sendRequest) { List <CellProperty> cells = InputTableService.getCellsValues(this.EditedObject.name); if (cells == null) { cells = new List <CellProperty>(0); } foreach (CellProperty cellProperty in cells) { completeCell(cellProperty); } this.CellPropertyGrid.ItemsSource = new ObservableCollection <CellProperty>(cells); sendRequest = false; return; } } else { sendRequest = true; } }
public void Display(InputTableService service, Kernel.Domain.TableSaveIssue tableSaveIssue) { this.InputTableService = service; this.tableSaveIssue = tableSaveIssue; Display(tableSaveIssue); }