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; } } }
//public string GetIdPath() //{ // return Tvim.GetPath(GetPath(), TVIModel.Pathtype.Id); //} public string GetDisplayNamePath() { return(Tvim.GetPath(GetPath(), TVIModel.Pathtype.DisplayName)); }