Exemplo n.º 1
0
 internal void Render(bool reload)
 {
     if (!reload)
     {
         IsExpanded = !IsExpanded;
         IsExpanded = !IsExpanded;
         return;
     }
     IsExpanded = false;
     _Control.ResetGrid(true);
     Filter = string.Empty;
     ParentList.Clear();
     foreach (var file in _Proxy.GetParentList())
     {
         ParentList.Add(file);
     }
     using (FileList.DeferRefresh())
     {
         _AddSortDescription();
         IsExpanded = true;
     }
     CurrentParent = _DefaultFile;
     if (0 != ParentList.Count)
     {
         CurrentParent = ParentList.First();
         _Control.ResetGrid(false);
     }
     CurrentParent.Load();
     IsRendered = true;
     PopulateAvailableItems();
 }