Пример #1
0
        private static void HandleRootTargetChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PropertyInspector inspector = (PropertyInspector)d;

            inspector._inspectStack.Clear();
            inspector.Target = e.NewValue;

            inspector._delvePathList.Clear();
            inspector.OnPropertyChanged("DelvePath");
        }
Пример #2
0
        private static void HandleTargetChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            PropertyInspector inspector = (PropertyInspector)d;

            inspector.OnPropertyChanged("Type");

            if (e.NewValue != null)
            {
                inspector._inspectStack.Add(e.NewValue);
            }
        }