internal DomainCategoryTreeViewItemViewModel(Authentication authentication, DomainCategoryDescriptor descriptor, object owner) : base(authentication, descriptor, owner) { this.IsExpanded = true; this.RefreshVisible(false); this.Items.CollectionChanged += Items_CollectionChanged; }
protected override DomainCategoryTreeItemBase CreateInstance(Authentication authentication, DomainCategoryDescriptor descriptor, object owner) { return(new DomainCategoryTreeViewItemViewModel(authentication, descriptor, owner)); }