Live Chat Icon For mobile
Live Chat Icon

In the property browser for a custom control, how do I disable a property initially, but enable it later based on some other property changing

Platform: WinForms| Category: Controls

Implement ICustomTypeDescriptor, and provide your own PropertyDescriptor for that property that changes it’s return value for IsReadOnly.

Share with

Share on twitter
Share on facebook
Share on linkedin

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.