How to show a List of values within an object in property grid?

Hello

My object has an Observable<MyItem> for my object, is there anyway to display this list in property grid?

Using this sample code with addition of list in UI I see Name/Age but I do not see Values...

 Collection = new ObservableCollection<Emp>();

            Collection.Add(new Emp() { Name = "Jhon", Age = 11, Values = new ObservableCollection<string>() { "x", "y" } });
            Collection.Add(new Emp() { Name = "Peter", Age = 12 , Values = new ObservableCollection<string>() { "a", "b", "c" } });
            Collection.Add(new Emp() { Name = "Soon", Age = 13 , Values = new ObservableCollection<string>() { "1", "2s" } });
          
            propertyGrid1.SelectedObject = Collection[1];


Thanks.



1 Reply

AI Anirudhan Iyyappan Syncfusion Team April 30, 2020 03:22 PM UTC

Hi sally, 

Thank you for contacting Syncfusion support. 

We have prepared a sample based on your requirement. please refer to the sample and Ug Document below. 



If we have misunderstood any of your query, please let us know and share some more information. we are happy to assist you. 

Regards, 
Anirudhan 


Loader.
Up arrow icon