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"); }
private static void HandleTargetChanged(DependencyObject d, DependencyPropertyChangedEventArgs e) { PropertyInspector inspector = (PropertyInspector)d; inspector.OnPropertyChanged("Type"); if (e.NewValue != null) { inspector._inspectStack.Add(e.NewValue); } }