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 question

ListView question

Scheduled Pinned Locked Moved C#
question
3 Posts 2 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.
  • Q Offline
    Q Offline
    QzRz
    wrote on last edited by
    #1

    Hi I have created a ListView, with View put to Details. Added a few items, and gave them some subItems. Then I changed the background colour on all the items and subItems. Then when I click on one item it the background on the first subitem gets gray, and the other subitems get a white background. Is it possible to make all the subitems the same colour, when the item is selected? Thanks QzRz

    C 1 Reply Last reply
    0
    • Q QzRz

      Hi I have created a ListView, with View put to Details. Added a few items, and gave them some subItems. Then I changed the background colour on all the items and subItems. Then when I click on one item it the background on the first subitem gets gray, and the other subitems get a white background. Is it possible to make all the subitems the same colour, when the item is selected? Thanks QzRz

      C Offline
      C Offline
      cmaissan
      wrote on last edited by
      #2

      In the properties for the ListView control you will see a property named "FullRowSelect". Set this property to true. -Chris

      Q 1 Reply Last reply
      0
      • C cmaissan

        In the properties for the ListView control you will see a property named "FullRowSelect". Set this property to true. -Chris

        Q Offline
        Q Offline
        QzRz
        wrote on last edited by
        #3

        It works now :) Thanks!

        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