Grids for WPF Forum

Posted 13 years ago by Mary Fontana - Rudolph Technologies
I created a custom SummaryTemplate similar to the one in the Summary Customization QuickStart.

The behavior I don't have after using a SummaryTemplate is that the summary is always visible.

How do I get the property grid's summary to start out as collapsed - until a property is selected?


Comments (1)

Posted 12 years ago by Actipro Software Support - Cleveland, OH, USA
Hi Mary,

You would need to restyle the PropertyGridSummaryContentControl. Our default ControlTemplate will only collapse the summary area if it's "content" has a height of 0. When using the DataTemplate, like in our example, it will have a non-zero height.

You'd need to add a trigger to collapse the summary area if say Content is null. We can't make that assumption with our default implementation, as the DataTemplate can contain anything, even stuff not related to the selected property.

Actipro Software Support

The latest build of this product (v24.1.2) 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.