Dispaly effect

Grids for WPF Forum

Posted 15 years ago by Balaram Barange
Version: 4.5.0487
Avatar
When I display window/form with PropertyGrid Control, it displays categories first for a fraction of second and then expands all its child properties.

How can I remove this effect (propertygrid.Items contains 3 categories and each has max 7 children)?

Comments (4)

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Balaram,

This is something we have on our TODO list to fix or workaround. Currently, the only option would be to set ProperyGrid.AreCategoriesAutoExpanded to false, but then the categories must be expanded manually.


Actipro Software Support

Posted 15 years ago by Balaram Barange
Avatar
Can we get workaround/fix in next build?
Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
We've looked into this a while already and it has proven much more difficult to accomplish than you would think due to the nature of the TreeView (which the PropertyGrid inheirts from). The containers for the items below the category are not constructed (or measured/arranged) until the category is expanded. That process (building containers, measuring them, and arranging them) is the delay you are seeing.

You may be able to force the containers to be built using the ItemContainerGenerator, which might ultimately be what we will build into the PropertyGrid. Unfortunately, this will not make it into the WPF Studio 5.0 release, which will be our next release.

If this is something you must have, we could be contracted to make it a high priority and implement it for you. More info on that option here: http://www.actiprosoftware.com/Purchase/ConsultingServices.aspx


Actipro Software Support

Posted 15 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Balaram,

This should be fixed in the next maintenance release.


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.