[]
Represents a Windows color picker control supporting additional visual styles.
[ToolboxBitmap(typeof(C1ColorPicker), "C1ColorPicker.png")]
public class C1ColorPicker : C1BasePicker, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, ISupportInitialize, ICustomTypeDescriptor
| Name | Description |
|---|---|
| C1ColorPicker() | Initializes a new instance of the C1ColorPicker class. |
| Name | Description |
|---|---|
| AllowEmpty | Gets or sets a value indicating whether the empty color can de selected. |
| AllowTransparent | Gets or sets a value indicating whether the transparent color can de selected. |
| Color | Gets or sets the current color. |
| DefaultDropDownFormClassName | Specifies form class that is used by default as the dropdown for the control. |
| DefaultThemeRootPath | Default path for the control in xml theme file. |
| EmptyColorCaption | Gets or sets a caption for the empty color. |
| SelectionView | Gets or sets the item's selection view. |
| ShowImage | Determines if image should be shown. |
| Text | |
| Value | Gets or sets the current color representation of the visual information contained in the control. |
| Name | Description |
|---|---|
| DrawImage(Graphics, Rectangle) | Draws image in the control. |
| GetImageSize() | Returns image size. |
| GetPreferredSize(Size) | |
| OnColorChanged(EventArgs) | |
| OnKeyDown(KeyEventArgs) | This method is for internal use only. |
| OnModalButtonClick(EventArgs) | This method is for internal use only. |
| OnValueChanged(EventArgs) | This method is for internal use only. |
| ResetColor() | |
| TextToValue(ref TextToValueArgs) | Should be overridden in deviced class and convert string to value. |
| ValueToText(ref ValueToTextArgs) | Should be overridden in derived class and convert value to string. |
| Name | Description |
|---|---|
| ColorChanged | Fires when the Color property changes. |