Пример #1
0
 private void ShowProperties(MetadataViewModelBase obj)
 {
     ItemProperties.Clear();
     if (obj.Model.IsPropertyLoaded)
     {
         ItemProperties.AddRange(obj.Model.Properties);
     }
 }
Пример #2
0
        private async void LoadProperties(MetadataViewModelBase obj)
        {
            if (obj.Model.IsPropertyLoaded)
            {
                obj.Root.RefreshProperties(obj);
            }
            await obj.Root.LoadProperties(obj);

            ItemProperties.Clear();
            ItemProperties.AddRange(obj.Model.Properties);
        }