private static Task OnChangeColorCommandExecute(HeaderCommandParameter parameter) { var manageColorModel = new ManageColorModel { Grid = parameter.Grid, SelectedColumn = parameter.Column }; var modello = ViewModelFactory.CreateViewModel <ManageColorViewModel>(manageColorModel); return(UIVisualizerService.ShowDialogAsync(modello, OnChangeColorCompleted)); }
public ManageColorViewModel(ManageColorModel manageColorModel) { ManageColorModel = manageColorModel; }