i have implemented a Double Style Graphics List box in which I want to change the font & color of the text in a specific entry .... different fonts & colors for each entr, but it will be decided dynamically.
if condition 1
use font and color type 1
use font and color type 2
You need to implement custom drawer for your listbox. Using that you can draw to each line whatever you want (warious number of icons, texts, different fonts, backgrounds, etc.)
Check these classes:
and methods like:
It is not completely easy to figure everything out, but it can be done once you crack the logic behind it..:-)