We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Display array of objects in PropertyGrid

Thread ID:





124091 May 16,2016 06:44 AM UTC May 18,2016 08:27 AM UTC WPF 3
Tags: PropertyGrid
Mers Tho
Asked On May 16, 2016 06:44 AM UTC

Hi. I have an array of class, I type PropertyGrid1.selectedobject = configuration[1];

if I do in this way, nothing is shown in the propertyGrid,

So, how can I display array in PropertyGrid? 

Thanks in advance 

Sugapriya Mariappan [Syncfusion]
Replied On May 17, 2016 08:26 AM UTC

Hi Tho jun,

Thank you for contacting Syncfusion Support.

“Query #: how can I display array in PropertyGrid?”

Property grid control doesn’t have support to display array. So we suggest you to use CollectionObject which contains Key Value Pairs as Properties in the PropertyGrid to display array.

Please download the sample from the below link
Sample link: PropertyGridSample

If your requirement is different from the above sample, please provide more information about your requirement


Mers Tho
Replied On May 17, 2016 09:52 AM UTC

Thank you for answering, but why there is a property named "key" is displayed in propertygrid? how can I remove it?

Sugapriya Mariappan [Syncfusion]
Replied On May 18, 2016 08:27 AM UTC

Hi Tho Jun, 

Sorry for the inconvenience caused 

We have modified our last update sample. In this we have bound the first item from the Collection to the Selected Object. Now the Property names and values are displaying accordingly. 

Please download the sample from the below link


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon