Results 1 to 2 of 2

Thread: ListviewSubItem Tag property

  1. #1

    Thread Starter
    Lively Member
    Join Date
    Oct 2006
    Location
    Spain
    Posts
    97

    ListviewSubItem Tag property

    Hello,

    In Compact Framework 2.0, the class ListviewSubItem does not exist Tag property.

    Is there any solution?

    Thanks

  2. #2
    Super Moderator jmcilhinney's Avatar
    Join Date
    May 2005
    Location
    Sydney, Australia
    Posts
    111,221

    Re: ListviewSubItem Tag property

    1. Inherit the class, add a Tag property, add instances of your own class to your items instead of regular ListViewSubItem objects.

    2. Create a Dictionary(Of ListViewSubItem, Object) and store the data separately to the subitems themselves.
    Why is my data not saved to my database? | MSDN Data Walkthroughs
    VBForums Database Development FAQ
    My CodeBank Submissions: VB | C#
    My Blog: Data Among Multiple Forms (3 parts)
    Beginner Tutorials: VB | C# | SQL

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width