public TreeNodeProvider(IDependencyPropertyService <DependencyObject, Style, DependencyProperty> dependencyPropertyService) : base(dependencyPropertyService) { this.applicationDependencyObject = new ApplicationDependencyObject(Application.Current); }
public TreeNodeProvider(IDependencyPropertyService <DependencyObject, Style, DependencyProperty> dependencyPropertyService) : base(dependencyPropertyService) { this.applicationDependencyObject = new ApplicationDependencyObject(Application.Current); this.isInDesigner = DesignerProperties.GetIsInDesignMode(new DependencyObject()); }