This project has moved. For the latest updates, please go here.

Dynamically Hide/Show Property in the property grid

Apr 7, 2014 at 5:20 PM
Is there any inbuilt methodology to hide a property (say X) when a user changes the value of another property (say Y)?

I tried the following approach:

http://www.codeproject.com/Articles/13342/Filtering-properties-in-a-PropertyGrid

This doesn't work unless I close the user control (in which the property grid is hosted) and re-open again.

Any help is appreciated!

Regards
Krish
Developer
Apr 11, 2014 at 7:14 PM
Hi,

Currently, you cannot have the value of a property based on the value of another property. You can vote for this issue :
https://wpftoolkit.codeplex.com/workitem/18507

In the meantime, maybe the following thread can help you :
https://wpftoolkit.codeplex.com/discussions/541848