Hi Guys,
i am re-drawing the listitem text in DrawItem to make a single word bold. so far no luck. can anyone tell me how to do this please? would be a great help.
thanks
string[] lines = Regex.Split("Some text message here", @"\W+");
foreach (string word in lines) {
Font font = e.Font;
if(word = "text")
font = new Font(e.Font, FontStyle.Bold);
Size size = TextRenderer.MeasureText(word, font);
e.Graphics.DrawString(word, e.Font, new SolidBrush(e.ForeColor),
e.Bounds.Left + size.Width, e.Bounds.
}