How can I use data factories to create properties where I skip a step in the property chain?

Grids for WPF Forum

Posted 8 years ago by Magnus Lindhe
Version: 15.1.0623
Avatar

Hi!

How can I use data factories to create properties where I skip a step in the property chain?

A property chain "SelectedObject".PropertyA.PropertyB with the default settings will give me a nested property "PropertyA" with a property "PropertyB". 

I would like to hide the "PropertyA" so it looks like "PropertyB" is part of the "SelectedObject".

Comments (1)

Posted 8 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hi Magnus,

Please check out our "Custom Factory" QuickStart in the samples.  That shows an example of routing a property from a child object up a level.  You can do anything like this customization in an override of the factory's GetProperties method.


Actipro Software Support

The latest build of this product (v24.1.1) was released 2 months ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.