KT.UI for ASP.NET PerColorEditor library provides various functions of color settings with simple C# APIs and Codes. Users are able to set all the supportable color properties to create your own customized color editor. This page is arranged to display following guides on color settings within color palette:
How to Use C# Codes to Set EmptyColor
The developing concept of EmptyColor is: When users choose a wrong color or you donât want to apply any color, you can click the button is the upper right corner, then the selected color will be cleared quickly.
Please check following demo C# codes to set EmptyColor setting.
How to Use C# Codes to Set RecentColor
As you can see in the demo screenshot of RecentColor, the recently used colors are displayed in the bottom. You can directly choose the most recently used color, and then you can work with high efficiency and save a lot time. Use following demo C#.NET codes to help you program RencentColor object by applying PerColorEditor control.
How to Use C# Codes to Set CustomColor
By using our color editor, users can both get a collection of preset colors, and can customize you own preferring color by evoking CustomColor property of PerColorEditor. When you are allowed to custom color, you just need to click the button, and then you will see a pop-up color selection box on which you can choose any desired color.
Please refer to following C# snippet code to set this property.
How to Use C# Codes to Set PreviewColor
As described in the product functions, our users are free to choose whether display the PreviewColor within color palette or not. When users set PreviewColor as true, the selected color and color code will be displayed within the color palette. Check following simple codes for setting PreviewColor.
|
ASP.NET AJAX UI Controls ASP.NET AJAX Chart UI Control ASP.NET AJAX Grid UI Control ASP.NET AJAX Barcode UI Control ASP.NET AJAX Button UI Control ASP.NET AJAX Calendar UI Control ASP.NET AJAX NavigationBar UI Control ASP.NET AJAX Captcha UI Control ASP.NET AJAX Color Editor UI Control OverviewGetting StartedElement Color PaletteWidth and ColumnsColor SettingClient Prpgramming ColorEditor EventServer Programming ColorEditor EventASP.NET AJAX ComboBox UI Control ASP.NET AJAX DataPager UI Control ASP.NET AJAX Dock UI Control ASP.NET AJAX DropDownList UI Control ASP.NET AJAX DropDownTree UI Control ASP.NET AJAX HtmlEditor UI Control ASP.NET AJAX FileManager UI Control ASP.NET AJAX Filter UI Control ASP.NET AJAX Input UI Control ASP.NET AJAX ListBox UI Control ASP.NET AJAX ListView UI Control ASP.NET AJAX ToolBar UI Control ASP.NET AJAX TabControl UI Control ASP.NET AJAX Menu UI Control ASP.NET AJAX ToolTip UI Control |