Expand/Collapse events in Property Grid

Ribbon for WPF Forum

Posted 15 days ago by Procam
Version: 20.1.0
Avatar

Hello,

there is a way how to handle expand/collapse events for Categories in Property grid? Does it seem as such events do not exist?

I found an old thread - 11 years old, that can help, but was not able to find any "propgrid:PropertyGridDataAccessorItem"

https://www.actiprosoftware.com/community/thread/4140/how-to-not-expand-categories

My goal is when category is expanded/collapsed to remember these names, so the next time I can use these names.

Comments (1)

Posted 15 days ago by Actipro Software Support - Cleveland, OH, USA
Avatar

Hello,

The PropertyGrid control was rewritten several years ago with a better design that performs faster and is easier to use.  As part of that rewrite, there were some API changes.  The good news is that the PropertyGrid control has ItemExpanded and ItemCollapsed events on it.


Actipro Software Support

The latest build of this product (v2020.1.1) was released 7 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.