private void OnBreadcrumbChanged(object sender, BreadcrumbChangedEventArgs e) { if (BreadcrumbChanged != null) { BreadcrumbChanged(sender, e); } }
private void OnBreadcrumbChanged(object sender, BreadcrumbChangedEventArgs e) { var breadcrumb = sender as BreadcrumbControl; if (breadcrumb != null) { SuperGraph.ClearMapObjects(); ShowLoading(); _superGraphController.ChangeContextAsync(e.NewItem.Node); PreLoader.LoadParentBreadcrumb(e.NewItem.Node.Proxy, e.ParentIndex); } }
private void OnBreadcrumbChanged(object sender, BreadcrumbChangedEventArgs e) { var breadcrumb = sender as BreadcrumbControl; if (breadcrumb != null) { RemoveTo(breadcrumb); RemoveParentOf(breadcrumb); e.ParentIndex = GetInsertPosition(breadcrumb); if (BreadcrumbChanged != null) { BreadcrumbChanged(sender, e); } } }