상속: System.EventArgs
 private void OnBreadcrumbClicked(object sender, BreadcrumbClickedEventArgs e)
 {
     if (BreadcrumbClicked != null)
     {
         BreadcrumbClicked(sender, e);
     }
 }
 private void OnBreadcrumbClicked(object sender, BreadcrumbClickedEventArgs e)
 {
     if (BreadcrumbClicked != null)
     {
         BreadcrumbClicked(sender, e);
     }
 }
예제 #3
0
        private void OnBreadcrumbClicked(object sender, EventArgs e)
        {
            var breadcrumb = sender as BreadcrumbControl;

            if (breadcrumb != null)
            {
                RemoveTo(breadcrumb);
                var args = new BreadcrumbClickedEventArgs();
                if (!IsContainRootMap())
                {
                    args.IsParentRemoved = true;
                    RemoveParentOf(breadcrumb);
                    args.ParentIndex = GetInsertPosition(breadcrumb);
                }

                if (BreadcrumbClicked != null)
                {
                    BreadcrumbClicked(sender, args);
                }
            }
        }
예제 #4
0
        private void OnBreadcrumbClicked(object sender, EventArgs e)
        {
            var breadcrumb = sender as BreadcrumbControl;
            if (breadcrumb != null)
            {
                RemoveTo(breadcrumb);
                var args = new BreadcrumbClickedEventArgs();
                if (!IsContainRootMap())
                {
                    args.IsParentRemoved = true;
                    RemoveParentOf(breadcrumb);
                    args.ParentIndex = GetInsertPosition(breadcrumb);
                }

                if (BreadcrumbClicked != null)
                {
                    BreadcrumbClicked(sender, args);
                }
            }
        }
예제 #5
0
        private void OnBreadcrumbClicked(object sender, BreadcrumbClickedEventArgs e)
        {
            var breadcrumbControl = sender as BreadcrumbControl;

            if (breadcrumbControl != null)
            {
                SuperGraph.ClearMapObjects();
                ShowLoading();
                _superGraphController.ChangeContextAsync(breadcrumbControl.BreadcrumbData.Node);
                IsLoadMapByGuid = false;
                if (e.IsParentRemoved)
                {
                    PreLoader.LoadParentBreadcrumb(breadcrumbControl.BreadcrumbData.Node.Proxy, e.ParentIndex);
                }
            }
        }