Tag Archives: owner-draw ListBox

Make an owner-drawn ListBox with pictures in C#

This example extends the previous one Make an owner-drawn ListBox in C# to make an owner-drawn ListBox with pictures. The program uses the following Planet class to represent information about the planets. class Planet { public string Name = “”; … Continue reading

Posted in controls, graphics | Tagged , , , , , , , , , , , | 5 Comments

Make an owner-drawn ListBox in C#

This example shows how you can make an owner-drawn ListBox. Normally a ListBox displays a textual representation of its objects, but you can change that behavior to make it display anything you can draw. This example displays some multi-line text … Continue reading

Posted in controls, fonts, graphics | Tagged , , , , , , , , , , | 4 Comments