C1HexColorBox

The C1HexColorBox control provides data validation for hexadecimal code entries. For example the basic C1HexColorBox control appears similar to the following image:

 

 

The C1HexColorBox control appears similar to a regular text box. By default, the C1HexColorBox control appears with eight digits. If eight digits are visible, the first two digits represent the color's transparency ranging from FF (opaque) to 00 (transparent) and the last six digits represent standard hexadecimal color selection. For more information about hexadecimal color selection, see w3schools.

Note that if the ShowAlphaChannel property is set to False, only the last six digits will be visible (no transparency value will be included):

 

 

You can also, if you choose, choose to display a '#' symbol to the start of the  C1HexColorBox control by setting the ShowSharpPrefix property to True:

 


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.