Hello.
I'm fairly new to Syncfusion so I may be missing some obvious. Is there any way to react to a property expand action? The use case is to lazy load nested properties on demand. I tried to use the AutoGeneratingPropertyGridItem event, but it doesn't look like the parent property is accessible from within that event.
Hi Martin,
The Nested property items will be loaded when the parent of the nested property item is expanded. It is the default behavior of PropertyGrid control which is lazy loading. Could you please explain to us why do you want to get parent property in AutoGeneratePropertyGridItem event? so that we will try to provide a solution for the same
Regards,
Gokul T
I have properties of a nested object that are expensive to load. In my case it's data parsed from a binary file, but it could be anything that's slow\heavy to load all at once. So when a object is expanded, I need to call a method on the object to load the property values.
I've attached a minimal project that showcases the problem, and the solution I ended up using. I had to use reflection for a non public property so it's far from ideal.
Hi Martin,
Regards,
Gokul T.
Hi Martin,
We have analyzed your requirement of “Need events to notify when nested properties are collapse and expand ”. We have logged a feature request for the same. We will implement this feature in any of our upcoming release.
At the planning stage for every release cycle, we review all open features and identify features for implementation based on specific parameters including product vision, technological feasibility, and customer interest. We will let you know when this feature is implemented. We appreciate your patience until then.
Thank you for requesting this feature and helping us define it. We are always trying to make our products better and feature requests like yours are a key part of our product growth efforts.
Feedback link:
Need
events to notify when nested properties are collapse and expand in WPF |
Feedback Portal (syncfusion.com)
If you have any more specification/suggestions to the feature request, you can add it as a comment in the portal and cast your vote to make it count.
Regards,
Gokul T