Hi All!
VS2010/Net 3.5
I'm writing a user control, and I need to expose/create an array property.
This works within the UserControl, but how do I expose it to the program/project that's hosting the UserControl?Code:public string[] Flavor = new string[16];
For use like this:
I've concidered a method using the get/set pair, but I can't figure out how to do it!Code:MyControl.Flavor[0] = "Cherry"; MyControl.Flavor[1] = "Grape";
Thanks for your help!




Reply With Quote