Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C#
  4. ListView without name

ListView without name

Scheduled Pinned Locked Moved C#
tutorialquestion
4 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    bouli
    wrote on last edited by
    #1

    Hello gurus, I would like to know if it is possible to create a listview control without name in order to have only the pictures in the list? If so how to do that? Or must I do my own control for that? Note: the pictures are small bitmaps loaded from files. The size of the bitmaps are either 8x8, 16x16 or 32x32. Thank you. Best regards. Fred. There is no spoon.

    M L 2 Replies Last reply
    0
    • B bouli

      Hello gurus, I would like to know if it is possible to create a listview control without name in order to have only the pictures in the list? If so how to do that? Or must I do my own control for that? Note: the pictures are small bitmaps loaded from files. The size of the bitmaps are either 8x8, 16x16 or 32x32. Thank you. Best regards. Fred. There is no spoon.

      M Offline
      M Offline
      Mr Naveed Butt
      wrote on last edited by
      #2

      what do u mean by without name, do u mean that there should be no column header or what ? If you want to have no column header then there is no problem but I guess it is something different....

      B 1 Reply Last reply
      0
      • B bouli

        Hello gurus, I would like to know if it is possible to create a listview control without name in order to have only the pictures in the list? If so how to do that? Or must I do my own control for that? Note: the pictures are small bitmaps loaded from files. The size of the bitmaps are either 8x8, 16x16 or 32x32. Thank you. Best regards. Fred. There is no spoon.

        L Offline
        L Offline
        Luis Alonso Ramos
        wrote on last edited by
        #3

        Set the Text property of the ListViewItem to " " (a space) or even "" (an empty string). And set the ImageIndex to picture you want to display. -- LuisR


        Luis Alonso Ramos Intelectix - Chihuahua, Mexico Not much here: My CP Blog!

        1 Reply Last reply
        0
        • M Mr Naveed Butt

          what do u mean by without name, do u mean that there should be no column header or what ? If you want to have no column header then there is no problem but I guess it is something different....

          B Offline
          B Offline
          bouli
          wrote on last edited by
          #4

          I mean no string under the picture. I just want a list of pictures... There is no spoon.

          1 Reply Last reply
          0
          Reply
          • Reply as topic
          Log in to reply
          • Oldest to Newest
          • Newest to Oldest
          • Most Votes


          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories
          • Recent
          • Tags
          • Popular
          • World
          • Users
          • Groups