Window Forms Color Dialog Control Create custom color in C# to form with the Color Dialog in .NET applications Tutorial of Color Dialog Control
The Kettic Color Dialog WinForm component offers the easy way to customize color to Form via choosing color from a color palette. This is a light weight user interface WinForms control and can be seamlessly integrated into other controls. RGB or HEX color models are available for choosing color. The color palette that can be themed as demand contains large flexibility to build custom color from the web, system, and basic colors. How to Use Color Dialog WinForm Control
The Color Dialog tutorial shows how to use the Color Dialog control in your .NET Windows Forms project, including Color Dialog control customizing, localizing tab labeling and more.
- Open your existing Windows Forms project or create a new Windows application.
- Drag a Kettic Color Dialog control and drop it on the form you are designing.
- Open the Properties Window of the Color Dialog component and configure the Dock property as Fill.
- Disable the property, DisplayBasicColors, by setting its value as false
- Disable the property, DisplayProfessionalColors, by setting its value as false
- Disable the property, DisplayHEXColorsValue, by setting its value as false
- Disable the property, AllowPickColorFromScreen, by setting its value as false
- Disable the property, DisplayCustomColors, by setting its value as false
- Configure the property, WebTabHeading, to read "Named Web Colors"
- Check the values that has been selected in the Color Dialog with the C# code snippet below
- Debug the C# .NET project via hitting the F5 button to verify if the changes being done correctly.
|