Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
45
xamPropertyGrid with PropertyDescriptor
posted

Hi,

We are evaluating the xamPropertyGrid, and we are testing a special case that doesn´t appears inside the Infragistics Samples 16.1.

In our test case, we are using a ViewModel inheriting from CustomTypeDescriptor. In this View Model we have a List, and in the GetProperties method we are getting the properties of the list objects. This objects are coming with a PropertyDescriptor to modify the DisplayName, the Category depending of the object properties. 

We want to show only the list objects, we don´t want to show the collection item concentrator.

In our example, we have two controls:

  • button (to set a Value from outside the Property Grid.)
  • Property Grid.

The problem is that the property grid doesn´t refresh the data, if we update the data from  button´s event.

I attached a solution with the problem.

What are we doing wrong? Which is the correct way?

PropertyGrid.zip