Search KB Filter article types
ColorComboBox
Categories: Selection
Tags: Developers, 1. Beginner, 2. Intermediate, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
Revision: 1
Posted: 11/July/2009
Updated: 21/July/2010
Status: Publish
Types: Reference

This article will have a few sections added to it soon, based on the following article type skeleton: Control
Overview

The ColorComboBox is a special type of ComboBox, for selecting colors instead of text.

For the most part, this control works much like a normal ComboBox, but it is specially extended with the intention of being populated with items of type System.Drawing.Color, and will show the actual color of each of it's items, in addition to the name of the color in the dropdown list.

Availability

The ColorComboBox is one of the Out of the Box standard controls, which means it is free and available in all Visual WebGui versions.

Relevant membersProperties
Name
Description
Items
The Items will contain the list of colors being selected from. You will use this collection if you are populating the ColorComboBox manually with colors.
DataSource
Any list that implements IListor IListSourceinterfaces. ArrayListbeing one of the typical lists that can be assigned here.
SelectedItem
The currently selected item, of type System.Drawing.Color.
SelectedValue
The currently selected item, of type System.Drawing.Color if using a DataSource, nothing if no DataSource.
SelectedIndex
The sequential index of the currently selected item within it's source list (manual or DataSource)


Events
NameDescription
SelectedIndexChanged

Fires whenever the item selection is changed.

Note, that for populating by using the DataSource property, this event will fire during the initial population.


Samples of useSDK Version highlightsSee also


About the author

Related Articles

Selection  
Title Update Author
Tags: Developers, Data Binding, Navigation, 1. Beginner, 2. Intermediate, Data Binding, Navigation, ASP.NET, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
11/Jan/2009    2009/01/11
Control of a combobox with a checked list and a tree.
Tags: Developers, Navigation, 2. Intermediate, 3. Advanced, Customization, Layouting, Navigation, Pre v6.3, v6.3, v6.4 and Later
06/Jan/2008    2008/01/06
This code demonstrates the usage of the different AutoCompleteMode values property of ComboBox control
Tags: Developers, Data Binding, Navigation, 1. Beginner, 2. Intermediate, 3. Advanced, Navigation, Pre v6.3, v6.3, v6.4 and Later
12/Jan/2007    2007/01/12
Tags: Developers, Data Binding, Windows & Dialogs, 1. Beginner, 2. Intermediate, Customization, Data Binding, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
03/Jan/2009    2009/01/03
Tags: Architects, Developers, 1. Beginner, 2. Intermediate, 3. Advanced, Pre v6.3, v6.3, v6.4 and Later
04/Dec/2010    2010/12/04
Tags: Developers, Data Binding, 1. Beginner, 2. Intermediate, Data Binding, Pre v6.3, v6.3, v6.4 and Later, 3. Advanced
30/Aug/2010    2010/08/30
.NET Web, Cloud and Mobile application delivery platform | Sitemap | Terms of Use | Privacy Statement | Copyright © 2005-2011 Visual WebGui®       Visual WebGui weblog on ASP.NET Visual WebGui Group on LinkedIn Visual WebGui updates on Twitter Visual WebGui Page on Facebook Visual WebGui YouTube Channel Visual WebGui Platform News RSS