Esempio n. 1
0
        private void CategoriesTree_OnSelectedItemChanged(object sender, RoutedPropertyChangedEventArgs <object> e)
        {
            var name = (e.NewValue as TreeViewItem)?.Header.ToString();

            _settingsWindowViewModel.ChangeControl(name);
        }