[]
Represents a color picker.
public class ColorPicker : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Public Class ColorPicker
Inherits Control
Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Name | Description |
---|---|
ColorPicker() | Creates a color picker with the default color name. |
ColorPicker(Color) | Creates a color picker with the specified color. |
ColorPicker(Color, bool) | Creates a color picker with the specified color and whether to use the drop-down control. |
Name | Description |
---|---|
Color | Gets or sets the currently selected color. |
Height | Gets or sets the height of the color picker. |
ShowColorName | Gets or sets the whether the color picker displays the name of the currently selected color. |
Name | Description |
---|---|
CloseDropDown() | Closes the drop-down control. |
OnColorChanged(EventArgs) | Fires the ColorChanged event. |
SetColor(Color) | Sets the associated check box color and text according to the TextDisplayed property value. |
ShowDropDown() | Shows the drop-down control. |
Name | Description |
---|---|
ColorChanged | Occurs when the Color property changes. |