상속: INotifyPropertyChanged
예제 #1
0
        public ChatTreeViewModel(TreeViewModelBase parent, ChatTreeItem value)
            : base(parent)
        {
            if (value == null) throw new ArgumentNullException(nameof(value));

            this.Value = value;
        }
        public SignatureTreeViewModel(TreeViewModelBase parent, SignatureTreeItem value)
            : base(parent)
        {
            if (value == null) throw new ArgumentNullException(nameof(value));

            _children = new ObservableCollectionEx<TreeViewModelBase>();
            _readonlyChildren = new ReadOnlyObservableCollection<TreeViewModelBase>(_children);

            this.Value = value;
        }
예제 #3
0
        public ChatTreeViewModel(TreeViewModelBase parent, ChatTreeItem value)
            : base(parent)
        {
            if (value == null)
            {
                throw new ArgumentNullException(nameof(value));
            }

            this.Value = value;
        }
예제 #4
0
        public SearchTreeViewModel(TreeViewModelBase parent, SearchTreeItem value)
            : base(parent)
        {
            if (value == null)
            {
                throw new ArgumentNullException(nameof(value));
            }

            _children         = new ObservableCollectionEx <TreeViewModelBase>();
            _readonlyChildren = new ReadOnlyObservableCollection <TreeViewModelBase>(_children);

            this.Value = value;
        }
예제 #5
0
 public TreeViewModelBase(TreeViewModelBase parent)
 {
     _parent = parent;
 }
예제 #6
0
 public TreeViewModelBase(TreeViewModelBase parent)
 {
     _parent = parent;
 }