ListView Control SubItems Ignore Specified BackColor, ForeColor, and Font

Posted on 2008-11-12
Last Modified: 2013-12-17
Selecting a ListView's 'Items' property in the control's PropertyGrid brings up a ListViewItem Collection Editor dialog and then  a ListViewSubItem Collection Editor where you can supposedly specify the background color (like RED), foreground color (like WHITE) and font (like Ariel) for each specific inserted SubItem.    But  after the project is built and run, the ListView displays the specified SubItem in just black text on white background in an unchanged font, totally ignoring the specific characteristics defined in the ListViewSubItem Collection Editor dialog.

How can I make the ListView honor the specified SubItem characterics?
Question by:Coder911
    1 Comment
    LVL 48

    Accepted Solution

    When you add the fist item you need to change the property UseItemStyleForSubItems to False or else it will use the same style for the subitems

    Write Comment

    Please enter a first name

    Please enter a last name

    We will never share this with anyone.

    Featured Post

    Maximize Your Threat Intelligence Reporting

    Reporting is one of the most important and least talked about aspects of a world-class threat intelligence program. Here’s how to do it right.

    Suggested Solutions

    Title # Comments Views Activity
    network + 7 57
    Global Keyboard Hooks Blocked 4 35
    Help with saving data added in DatagridView 1 40
    Find key in dictionary list 6 19
    Welcome my friends to the second instalment and follow-up to our Minify and Concatenate Your Scripts and Stylesheets (…
    For those of you who don't follow the news, or just happen to live under rocks, Microsoft Research released a beta SDK ( for the Xbox 360 Kinect. If you don't know what a Kinect is (http:…
    In this seventh video of the Xpdf series, we discuss and demonstrate the PDFfonts utility, which lists all the fonts used in a PDF file. It does this via a command line interface, making it suitable for use in programs, scripts, batch files — any pl…
    Here's a very brief overview of the methods PRTG Network Monitor ( offers for monitoring bandwidth, to help you decide which methods you´d like to investigate in more detail.  The methods are covered in more detail in o…

    779 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    12 Experts available now in Live!

    Get 1:1 Help Now