public void ApplyTemplate() { borderSelectionLogic = new BorderSelectionLogic( treeView, treeView.Template.FindName("selectionBorder", treeView) as Border, treeView.Template.FindName("scrollViewer", treeView) as ScrollViewer, treeView.Template.FindName("content", treeView) as ItemsPresenter, MultiSelectTreeView.RecursiveTreeViewItemEnumerable(treeView, false, false)); }
public void Dispose() { if (borderSelectionLogic != null) { borderSelectionLogic.Dispose(); borderSelectionLogic = null; } GC.SuppressFinalize(this); }
public SelectionMultiple(TreeViewEx treeViewEx) { this.treeViewEx = treeViewEx; BorderSelectionLogic = new BorderSelectionLogic(treeViewEx, TreeViewElementFinder.FindAll(treeViewEx, false)); }
public SelectionMultiple(TreeViewEx treeViewEx) { this.treeViewEx = treeViewEx; BorderSelectionLogic = new BorderSelectionLogic(treeViewEx, TreeViewElementFinder.FindAll(treeViewEx, false)); }