I have a user control that has a few public properties. These
properties get set in the app at run time with arrays of data, but at
design time the designer insists on setting these values. For one
property it even tryies to create an entry in the resource file, which
cause a build error in the resourc file.
Is there anyway to tell the designer not to try to create values for a
property in InitializeComponent?
Thanks,
Mitch
tlkerns - 30 Mar 2007 03:20 GMT
Try setting the Browsable attribute to False. This will also keep the
property from showing in the property grid.
Tony
> I have a user control that has a few public properties. These
> properties get set in the app at run time with arrays of data, but at
[quoted text clipped - 8 lines]
>
> Mitch