How to get all system color names and fill in a DropDownListBox 04-17-2009, 7:51 PM Contact Reply 1,560 point Participant mycwcgr Member since 08-07-2005, 8:47 AM Posts 750 I know I can use the following code get pre-defined color name one by one, how can I get all system color names?
I can’t find a system color name collection System.Drawing.Color.Red System.Drawing.Color.LightSalmon Random number generator software Hot Help Desk Unzip multiple files Online create chart and graph • • Re: How to get all system color names and fill in a DropDownListBox 04-17-2009, 9:37 PM Contact Answer Reply 93,001 point All-Star SGWellens Member since 01-02-2007, 4:27 PM Twin Cities, MN Posts 7,574 Here’s how to get the names and colors (you can fill the dropdownlistbox) System.Drawing.Color MyColor; foreach (string ColorName in Enum.GetNames(typeof(System.Drawing.KnownColor))) { Response.Write(ColorName + “
“); MyColor = System.Drawing.Color.FromName(ColorName); } Steve Wellens My blog • • Re: How to get all system color names and fill in a DropDownListBox 04-20-2009, 5:37 AM Contact Reply 63,453 point All-Star TATWORTH Member since 02-04-2003, 8:34 AM England Posts 12,402 Looks an interesting way to get a colout list and tried this.GridColour.DataSource = Enum.GetNames(typeo
Related Questions
- How to get all system color names and fill in a DropDownListBox 04-17-2009, 7:51 PM Contact Reply 1,560 point Participant mycwcgr Member since 08-07-2005, 8:47 AM Posts 750 I know I can use the following code get pre-defined color name one by one, how can I get all system color names?
- How can I contact someone to discuss how Garmin’s Fleet Management Interface can be used within the context of my dispatch system?
- Peoples names are often different colors. What do each color represent ?