public LocalPageViewModel(Controller controller, SyncFolderWizardViewModel model) : base(controller) { Header = "Local"; Subtitle = "Select the local folder"; this.model = model; updateNextStatus(); PropertyChanged += model_PropertyChanged; InitializeCommand = new Utils.RelayCommand(init); }
public RemotePageViewModel(Controller controller, SyncFolderWizardViewModel model) : base(controller) { Header = "Remote"; Subtitle = "Select the remote folder"; this.model = model; updateNextStatus(); this.model.PropertyChanged += model_PropertyChanged; CommitCommand = new Utils.RelayCommand(setDefaultDisplayName); }
public InteractivityExVM() { MouseEnterCmd = new Utils.RelayCommand(new Action <object>(MouseEntered), new Func <object, bool>(CanExecute)); OnImageClick = new RelayCommand(HandleOnImageClick); }