public DemoPageViewModel(SearchableNavigationWindow window) { _window = window; SetColorCommand = new RelayCommand <Color> { IsExectuable = true, ExecuteAction = SetGlowColor }; GoNextCommand = new RelayCommand <object> { IsExectuable = true, ExecuteAction = GoNext }; }
public DemoPage(SearchableNavigationWindow window) { InitializeComponent(); DataContext = new DemoPageViewModel(window); }