Hi,
Working with the code at :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadvnet/html/v
bnet08262002.asp
I have shadowed the Items collection with my own class. When a
DataListViewItem (inherited from ListViewItem) is added to the
collection it is also added to the base.Items collection - essentially
acting as a class filter.
The thing is, when items are added via the Visual Studio (2003)
designer, the DataListView control is not immediately updated with the
changes. Compiling causes the display to update. Considering I'm
adding items to the original Items collection behind the scenes,
shouldn't my class behave like its ancestor and update the VS designer
display on-the-fly?
Regards,
Camel
joeycalisay - 14 Feb 2005 09:09 GMT
Probably, this has something to do with the usual unbroadcasted change of
properties. How are you modifying the collections and where? Try calling
the RaiseComponentChanged and RaiseComponentChanging methods inherited from
ComponentDesigner class to notify IComponentChange designer service.

Signature
Joey Calisay
http://spaces.msn.com/members/joeycalisay/
> Hi,
>
> Working with the code at :
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dnadvnet/html/v
bnet08262002.asp
> I have shadowed the Items collection with my own class. When a
> DataListViewItem (inherited from ListViewItem) is added to the
[quoted text clipped - 11 lines]
>
> Camel