Change the ForeColor in a ListBox??
Hi;
I have a code below to create a listbox.
foreach (DataRow OrderListaInstitu in thisDataSetLista.Tables ["institu"].Rows)
{
ptlistainst.listBox1.Items.Add (OrderListaInstitu ["instituicao"]);
}
I would like to change the color of only one item.
If i use the code:
ptlistainst.ForeColor = Color.Red;
All of them change the color.
There is a way to change the ForeColor of only one item in a listbox??
|