• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 699
  • Last Modified:

How to get list of system.drawing.colors

I'm trying to fill a dropdown with a list of system.drawing.colors.  Using vs2008 and vb.

How can I get the colors into a array so I can bind to dropdown.
0
mgmhicks
Asked:
mgmhicks
  • 3
  • 2
1 Solution
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
0
 
mgmhicksAuthor Commented:
Private KnownColors As New List(Of KnownColor)

this line gives me knowncolor not defined
0
 
mgmhicksAuthor Commented:
Idle Mind this is a webpage, not sure you know that.
0
 
Mike TomlinsonMiddle School Assistant TeacherCommented:
0
 
mgmhicksAuthor Commented:
It worked I have had imports system.drawing.color as soon as I removed color it worked

thanks
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Site Down Detector

Helpful to verify reports of your own downtime, or to double check a downed website you are trying to access.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now