- Online Barcode Generator
- How To
- Buy Now
KT.UI for ASP.NET PerColorEditor provides users with the complete and easy to integrated color palette control. With the rich support of Color Palettes, users easily customize your custom color palette, and if it is necessary for you, you can combine custom with preset palettes.
Within the color palette object programmed by using PerColorEditor for ASP.NET AJAX, users are capable of defining provided automatic color picker. When click the color pick button, it will open the full color palette and the currently selected color can be displayed. In addition to this, PerColorEditor offers available control to set "No Color" and Color Preview on the color palette. If you want to make your color palette of the color editor out of ordinary, full and simple to select skins to set the visual appearance of the color palette, and users still can use one of the predefined skins or create your own.
How to Set Color Palette of PerColorEditor Control
All in all, there are three strategies can be used to set embedded color palettes, by setting the Preset property of the PerColorEditor, by setting ColorEditorItem and by setting Preset and ColorEditorItem at the same time.
In this part, we will respectively talk about these three solutions, as well as displaying the sample ASPX codes. For C# developers and end users, please go to: set color palette of PerColorEditor with C# programming language.
How to Set Color Palette by Setting Preset
Please see following ASPX demo codes to set Color Palette element by setting Preset property within ASP.NET application.
Now, the palette is displayed with the color of Metro style. If we set the property of PaletteMode as All, then there will be four color palettes corresponding to these four color modes: WebPalette, RGB, HSB, and HSV. Four sample images are listed below to give users better intuitive visual effect.
How to Set Color Palette by Setting ColorEditorItem
In this section, users can get the available ASPX codes on setting PerColorEditor color palette element by defining ColorEditorItem.
Following is the demo screenshot for setting color palette with ColorEditorItem.
How to Set Color Palette by Setting Preset and ColorEditorItem
If necessary, users can set your color palette by setting both Preset property and ColorEditorItem attribute.
Check following demo ASPX codes and sample screenshot for this setting.
ASP.NET AJAX UI Controls