Thank you for writing.
encapsulates the color selection logic. It is typically hosted by the RadColorDialogForm
. However, you can customize the appearance and behavior of the component by initializing an instance manually, setting its appearance properties, and adding it to your own form to show it to the user. This approach is illustrated below, where the customization is the setting of the back color of the color selector to red.
Please refer to the codeblock below:
|| Form colorDialogForm = new Form();
|| RadColorSelector cs = new RadColorSelector();
|| cs.BorderStyle = BorderStyle.Fixed3D;
|| cs.BackColor = Color.Red;
|| colorDialogForm.Size = cs.Size;
|| cs.Dock = DockStyle.Fill;
|| DialogResult dr = colorDialogForm.ShowDialog();
In the future, the RadColorSelector
will be available in the toolbox, and you'll be able to modify it at design-time.
I hope this helps. If you have any additional questions, please let us know.
All the best,
the Telerik team