Link to home
Start Free TrialLog in
Avatar of indy500fan
indy500fan

asked on

How do I bold the font in a listview?

Friends,

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!
Regards,
Eric
ASKER CERTIFIED SOLUTION
Avatar of Howard Cantrell
Howard Cantrell
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of indy500fan
indy500fan

ASKER

Planocz,

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

Thanks!

Eric