Hi,
I have a base class inheriting from System.Windows.Forms.Form. I have
put a public property called HelpProvider of type HelpProvider into
this class.
The problem is, that the Visual Studio designer does not recognize the
existing HelpProvider in forms inheriting from my base form. This
means, that the extender properties of my HelpProvider property do not
appear when looking at the properties of controls within such inherited
forms. The property HelpProvider is visible in the forms property list
but the controls do not show up the extender properties (e.g.
"HelpString on HelpProvider").
How can I make the designer recognize properties of type HelpProvider,
ToolTip or other extender properties in inherited forms?
The HelpProvider is correctly recognized, if I make it a public field
instead of a public property but then FxCop brings up a warning telling
me that I should not have visible instance fields.
Thanks for your help,
Mario