public TestCheckChanged(TreeViewItemViewModel threeItem/*PerfLab lab, TestInfo testInfo, bool? isChecked*/) { /* this.Lab = lab; this.TestInfo = testInfo; this.Checked = isChecked;*/ TreeItem = threeItem; }
private void SetChangedState(TreeViewItemViewModel sender, bool value) { if (parent != null && object.ReferenceEquals(this, sender)) { parent.UpdateCheckedState(value); } this.SetIsChanged(value); foreach (var child in this.Children) { child.SetChangedState(sender, value); } }
private void SetChangedState(TreeViewItemViewModel sender, bool value) { if (parent != null && object.ReferenceEquals(this, sender)) { parent.UpdateCheckedState(value); } this.SetIsChanged(value); foreach (var child in this.Children) { child.SetChangedState(sender, value); } }
protected TreeViewItemViewModel(TreeViewItemViewModel parent) { this.parent = parent; this.Children = new ReactiveCollection<TreeViewItemViewModel>(); }
protected TreeViewItemViewModel(TreeViewItemViewModel parent) { this.parent = parent; this.Children = new ReactiveCollection <TreeViewItemViewModel>(); }