This project has moved and is read-only. For the latest updates, please go here.

propertygrid property enable/disable visible/invisible

Nov 11, 2011 at 11:32 PM

I’m looking for a way to control enable/disable and visible/invisible states on individual properties, but not finding anything. Can you point me in the right direction?

The motivation is that sometimes the value of one property makes another property inapplicable.

Nov 12, 2011 at 1:21 AM

This is not natively supported by the propertygrid, but you may be able to do it using a custom editor that is defined in XAML.  You can try binding the visibility property of your editor templates to the value in question.

Dec 5, 2011 at 7:13 PM


Property NoEdit / NoVisible in SettingsClass=



public String StatusTextZeile1 {get; set;}


Dec 5, 2011 at 7:44 PM

@MarioR3211, the method you describe is a compile-time solution. I'm looking for a dynamic solution, where I can dynamically control the enable/disable of visible/invisible state of one property based on the value of another property.