What do you meen by refreshing the control? When adding/removing elements to
the collection using string collection editor should fire
ComponentChanging/ComponentChanged events through the
ICompoenentChangedService. You can subscirbe for these notifications in your
designer and use them to update your control.
--
Stoitcho Goutsev (100)
<12jumper@wp.plwrote in message
news:1168440447.811659.4470@o58g2000hsb.googlegrou ps.com...
Quote:
Hi All :)
>
I've created an UserControl, which has a couple of properties that are
collections (generic lists of some objects). It would be nice, if
control refreshed each time I add a new item to the collection (using
StringCollectionEditor). Is there any attribute I can use, or perhaps I
have to create a new class that inherites from List<Tand subscribe on
some event? Any suggestions greatly appreciated.
>
Greetings
jumper
>