public void NavigateBackstack(GhTreeItem ti) { for (var i = Breadcrumbs.Count() - 1; i >= 0; i--) { var item = Breadcrumbs[i]; if (item != ti) // TODO: Revisit this logic once we store page state { Breadcrumbs.Remove(item); continue; } break; } SelectPath(ti, insertInBackStack: false); }