listview again...

  • Thread starter Thread starter noodles
  • Start date Start date
You can create your own item class inherited from the ListViewItem class.
Then you can associate with it whatever data you want.

Hope this helps,
Sergiy.

This posting is provided "AS IS" with no warranties, and confers no rights.

--------------------
| From: "noodles" <[email protected]>
| Subject: listview again...
| Date: Thu, 18 Sep 2003 10:17:19 +0800
| Lines: 3
| X-Priority: 3
| X-MSMail-Priority: Normal
| X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
| X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
| Message-ID: <[email protected]>
| Newsgroups: microsoft.public.dotnet.framework.compactframework
| NNTP-Posting-Host: 203.118.35.2
| Path: cpmsftngxa06.phx.gbl!TK2MSFTNGP08.phx.gbl!TK2MSFTNGP09.phx.gbl
| Xref: cpmsftngxa06.phx.gbl
microsoft.public.dotnet.framework.compactframework:33805
| X-Tomcat-NG: microsoft.public.dotnet.framework.compactframework
|
| Anyone has a way to make use of ownerdata in listview control using C# ?
|
|
|
 
Yes, that's what my sample is about. What I find hard to understand is why
did someone make a decision *not* to have the tag property included in
ListViewItem. If there is a case of negligible overhead with obvious
benefits, this would be it.

Alex Feinman

Serg Kuryata said:
You can create your own item class inherited from the ListViewItem class.
Then you can associate with it whatever data you want.

Hope this helps,
Sergiy.

This posting is provided "AS IS" with no warranties, and confers no
rights.
 
Back
Top