Home » FAQ » WinForms » Controls » 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
Implement ICustomTypeDescriptor, and provide your own PropertyDescriptor for that property that changes it’s return value for IsReadOnly.
Platform BlazorASP.NETWinFormsWPF.NET MAUI
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with