WinForms C# Color Box Control
The Kettic Color Box Control is .NET component that is designed for .NET UI designers to build user friendly application. The C# Color Box WinForms Control provides the support of themes predefined in the WinForms UI Suite and custom themes. It allows users to choose a color from a color dialog or type the color in the text field directly.
Using C# Color Box Control
The steps below show the process how to configure the fore color to the label WinForms control by using the Kettic Color Box Control for Windows Forms.
Color Input with the Control
The Kettic Color Box Control is able to help developers to choose a color from a color dialog with predefined colors or to directly type the color name into the text field. The Color Box control support the input formats of color name, RGB value, and small rectangle. Properties of Color Editor Control
Value, this is the property used to configure the value to the browse editor control
ReadOnly, this is a property used to prevent direct text entry and change the value via color dialog button when it is true.
DialogType, this is a property used to open color dialog while clicking the browse button. Events of Color Editor Control
ChangeValue, The ChangeValue event is used to prevent changing the value before the value changes. It is able to pass a parameter, ChangeValueEventArgs, in which the OldValue, NewValue and Cancel properties are contained. The Cancel property determines if preventing the changes. The following C# code shows how to cancel the value changing to a new invalid value of a color.
|
UI Controlsfor Windows Forms .NET WinForms UI Overview.NET WinForms UI Features.NET WinForms UI GuideC# WinForms UI DesignVB.NET WinForms UI DesignWinForms UI Controls WinForms Buttons UI Control WinForms Calendar UI ControlWinForms Carousel UI ControlWinForms Chart UI ControlWinForms Clock UI ControlCommandBar UI ControlWinForms Dock UI ControlDesktop Alert UI ControlDropDown List UI ControlWinForms Editor UI Control AutoCompleteBoxBox Get Started in C#Text EditingModesFormat BlocksCustom BlocksEditor Browse EditorEditor Color BoxEditor Date Time PickerGet Started in C#C# PropertiesEditor MaskedEditBoxGet Started in C#C# PropertyEditor TextBoxGet Started in C#Add Buttons in C#Editor TextBoxControlGet Started in C#Caret Position and SelectionText EditingAuto CompleteFormat BlocksCustom BlocksEditor Time PickerGet Started in C#Time Picker - PropertiesTime Picker - CustomizationTime Picker - LocalizationForms and Dialogs UI ControlWinForms GridView UI ControlWinForms ListView UI ControlWinForms Menu UI ControlWinForms ComboBox UI ControlWinForms PageView UI ControlPanels and Labels UI ControlWinForms Panorama UI ControlWinForms PDFViewer UI ControlWinForms Property Grid UI ControlWinForms Ribbon UI ControlWinForms PivotGrid UI ControlWinForms RichTextBox UI ControlWinForms Rotator UI ControlWinForms Scheduler UI ControlWinForms Shortcuts UI ControlWinForms SpellChecker UI ControlWinForms Track & Status UI ControlWinForms TreeView UI ControlWinForms Wizard UI ControlWinForms Test UI ControlWinForms Theme UI Control |