private void BackNode(object obj) { if (BreadCrumbs.Count > 1) { BreadCrumbs.Remove(BreadCrumbs.Last()); } }
private void StartNode(object obj) { while (BreadCrumbs.Count > 1) { BreadCrumbs.Remove(BreadCrumbs.Last()); } }
private void NavigateToBreadCrumb(object obj) { Node n = obj as Node; if (n == null) { return; } while (BreadCrumbs.Count > 0 && BreadCrumbs.Last() != n) { BreadCrumbs.Remove(BreadCrumbs.Last()); } }
void BreadCrumbsCollectionChanged(object sender, NotifyCollectionChangedEventArgs e) { MasterNode = BreadCrumbs.Last(); }