示例#1
0
        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));
        }
示例#2
0
 public ManageColorViewModel(ManageColorModel manageColorModel)
 {
     ManageColorModel = manageColorModel;
 }