Microsoft Communities

Welcome to WindowsClient.net | Sign in | Join

Here are some frequently asked questions about Windows Forms and their answers.

Windows Forms FAQs

How do I create a property of a control so that in the Properties window the property is initially disabled, and later enable it based on some other property changing?

Implement the ICustomTypeDescriptor interface on the control, and provide a PropertyDescriptor for the property that changes its return value for the IsReadOnly method.

Contributed from George Shepherd's Windows Forms FAQ



Page view counter