Tag Archives: KnownColors

Add all Known GDI+ Web Colors to a Combobox or Listbox control.

Click Star to Rate Post
1 Star2 Stars3 Stars4 Stars5 Stars (No Ratings Yet)
 

This will add the list of all known colors to a combobox or listbox control.

Imports System.Drawing

'

Dim kColor As KnownColor

For kColor = KnownColor.AliceBlue To KnownColor.YellowGreen 

  Combobox1.Items.Add(kColor)

Next