|
Question : 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
|
|
Answer : How do I bold the font in a listview?
|
|
Sample: 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
|
|
|
|