Bind Collection to Combobox in a PropertyGrid using MVVM

Hi Team,

I need to bind collection fetched from database to the Combo box in a Property grid. I am following MVVM pattern hence needed MVVM based sample /solution. 
Needed a generic solution so that multiple combobox for different properties can be easily shown.

Thanks.

1 Reply 1 reply marked as answer

UN Unknown Syncfusion Team September 21, 2020 12:10 PM UTC

Hi LP, 

Thanks for contacting Syncfusion support. 

We have checked your requirement “Need to fetch data from database and assign it ComboBox in PropertyGrid” and it can be achieved by using CustomEditor. We have created a sample in which the CustomEditor of ComboBox is assigned to a property in PropertyGrid and the data from database is assigned to that ComboBox. Please refer the below documentation and sample for same. 



Regards, 
Niranjan Kumar Gopalan 


Marked as answer
Loader.
Up arrow icon