Example #1
0
        public SettingsView()
        {
            InitializeComponent();

            _viewModel = new SettingsViewModel();
            this.DataContext = _viewModel;
        }
 private void SettingsHotkeysView_OnDataContextChanged(object sender, DependencyPropertyChangedEventArgs e)
 {
     _viewModel = (SettingsViewModel)this.DataContext;
 }