private void ShowProperties(MetadataViewModelBase obj) { ItemProperties.Clear(); if (obj.Model.IsPropertyLoaded) { ItemProperties.AddRange(obj.Model.Properties); } }
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); }