void Handle(Input.Save action)
        {
            Transaction.Commit();
            BreadcrumbPage breadcrumbPage = (BreadcrumbPage)Parent;

            breadcrumbPage.SetActiveItem(Data);
        }
 void Handle(Input.Select action)
 {
     if (Data != null)
     {
         BreadcrumbPage breadcrumbPage = (BreadcrumbPage)Parent.Parent;
         breadcrumbPage.SetActiveItem(Data);
     }
 }
        void Handle(Input.AddSibling action)
        {
            BreadcrumbPage breadcrumbPage = (BreadcrumbPage)Parent.Parent;
            TreeItem       item           = new TreeItem()
            {
                Parent = ParentItem
            };

            breadcrumbPage.SetActiveItem(item, true);
        }
Exemplo n.º 4
0
        void Handle(Input.SelectTrigger action)
        {
            BreadcrumbPage breadcrumbPage = (BreadcrumbPage)Parent.Parent.Parent.Parent;

            breadcrumbPage.SetActiveItem(Data);
        }