[Mono-devel-list] ListViewItem.ListView
A Rafael D Teixeira
rafaelteixeirabr at hotmail.com
Thu Sep 18 14:06:59 EDT 2003
>From: Alan Jenkins <Alan.Jenkins at phonecoop.coop>
>
> > The ListViewItem class has a property called ListView that returns the
> > ListView control that contains this ListViewItem. How does ListViewItem
> > class knows who is its container, if it is not specified in the
>construtor
> > or in any other member ? I guess that I'm missing something there.
>
>I would assume the container of a ListViewItem is set when its added to a
>ListView.
Surely, but probably it is done with an 'internal' member, that is certainly
undocumented.
Don't start blaming Microsoft, this is the right thing to do and is called
'encapsulation'.
Rafael Teixeira
Brazilian Polymath
Mono Hacker since 16 Jul 2001
>_______________________________________________
>Mono-devel-list mailing list
>Mono-devel-list at lists.ximian.com
>http://lists.ximian.com/mailman/listinfo/mono-devel-list
_________________________________________________________________
MSN Messenger: instale grátis e converse com seus amigos.
http://messenger.msn.com.br
More information about the Mono-devel-list
mailing list