Extended Library for WPF and Silverlight | ComponentOne
ColorPicker / ColorPicker Features / Additional Controls / C1HexColorBox
In This Topic
    C1HexColorBox
    In This Topic

     

    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 C1ColorPicker.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 C1HexColorBox.ShowSharpPrefix property to True: