Still celebrating National IT Professionals Day with 3 months of free Premium Membership. Use Code ITDAY17


How do I bold the font in a listview?

Posted on 2008-06-17
Medium Priority
Last Modified: 2008-06-17

This, I think is a simple question, but I just can't find it...

How do I bold the font in a listview programmatically?

         li = frmTimelineSerial.lvFF.Items.Add(Row.CarNumber & " - L")
                        li.BackColor = Color.White
                        li.ForeColor = Color.Black
                        li.Font.Style = FontStyle.Bold???

Thanks in advance!
Question by:indy500fan
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
LVL 27

Accepted Solution

planocz earned 2000 total points
ID: 21804403
With Listview1
                .Items.Add("Help Me")
               .Items(0).BackColor = Color.WhiteSmoke
              .Items(0).ForeColor = Color.Green
              .Items(0).Font = New Font("Courier New", 12, FontStyle.Bold)
End With

Author Comment

ID: 21804448

li.Font = New Font("Courier New", 12, FontStyle.Bold) worked!



Featured Post

Concerto Cloud for Software Providers & ISVs

Can Concerto Cloud Services help you focus on evolving your application offerings, while delivering the best cloud experience to your customers? From DevOps to revenue models and customer support, the answer is yes!

Learn how Concerto can help you.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Article by: Kraeven
Introduction Remote Share is a simple remote sharing tool, enabling you to see, add and remove remote or local shares. The application is written in VB.NET targeting the .NET framework 2.0. The source code and the compiled programs have been in…
Introduction When many people think of the WebBrowser ( control, they immediately think of a control which allows the viewing and navigation of web pages. While this is true, it's a…
Have you created a query with information for a calendar? ... and then, abra-cadabra, the calendar is done?! I am going to show you how to make that happen. Visualize your data!  ... really see it To use the code to create a calendar from a q…
We’ve all felt that sense of false security before—locking down external access to a database or component and feeling like we’ve done all we need to do to secure company data. But that feeling is fleeting. Attacks these days can happen in many w…

705 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