Ejemplo n.º 1
0
 protected void LoadChildren()
 {
     if (Vm != null)
     {
         Vm.IsRunning = true;
     }
     try
     {
         foreach (TVIModel child in Tvim.GetChildren())
         {
             Children.AddItem(new TVIViewModel(child.Clone(), this, true));
         }
     }
     finally { if (Vm != null)
               {
                   Vm.IsRunning = false;
               }
     }
 }
Ejemplo n.º 2
0
        //public string GetIdPath()
        //{
        //    return Tvim.GetPath(GetPath(), TVIModel.Pathtype.Id);
        //}

        public string GetDisplayNamePath()
        {
            return(Tvim.GetPath(GetPath(), TVIModel.Pathtype.DisplayName));
        }