Visibility on PropertyGridPropertyItem

Grids for WPF Forum

Posted 14 years ago by Kelly Leahy - Software Architect, Milliman
Version: 9.1.0500
Avatar
Does property grid honor the Visibility property on the PropertyGridPropertyItem objects? I'm binding it to a value and it doesn't seem to be using the value (i.e. it's still visible even though I've set Visibility to Collapsed).

Do we just need a newer build?

Kelly Leahy Software Architect Milliman, USA

Comments (2)

Posted 14 years ago by Actipro Software Support - Cleveland, OH, USA
Avatar
Hi Kelly,

It's not support by default, but this forum post describes how you can hook it up.

If you use a mixture of dynamic properties (i.e. properties added via SelectedObject(s)) and PropertyGridPropertyItem, then you can alter the Style to use a DataTrigger when the DataContext is a UIElement. You'd need to use our IsTypeConverter to test for a specific type.


Actipro Software Support

Posted 14 years ago by Kelly Leahy - Software Architect, Milliman
Avatar
Thanks! I happened to stumble across that post just after posting mine... I must have searched wrong the first time around ;)

Thanks for the quick response.

Kelly Leahy Software Architect Milliman, USA

The latest build of this product (v24.1.2) was released 1 days ago, which was after the last post in this thread.

Add Comment

Please log in to a validated account to post comments.