BinaryColorPickerDropDown
BinaryColorPickerDropDown is a Colors displaying control that can used to let users select a color value from a variety of available color values. You could use this control to be displayed as a drop-down window to any control.
public class BinaryColorPickerDropDown : System.Windows.Forms.Form
Inherits from / implements: System.Windows.Forms.Form
Members at a glance
BinaryColorPickerDropDown | Initializes a new instance of the BinaryColorPickerDropDown class. |
CustomColorRectangleBorderStyle | Gets or sets the Border style ( i.e. Border3DStyle )for painting the borders of custom color boxes in the Custom colors tab page of the control. |
SelectedColor | Gets or sets the currently selected color. |
Dispose | Releases the resources held by this BinaryColorPickerDropDown. |
OnDeactivate | Raises the Deactivate event. BinaryColorPickerDropDown overrides it so the control's own handling runs alongside the base behavior. |
OnLoad | Raises the Load event. BinaryColorPickerDropDown overrides it so the control's own handling runs alongside the base behavior. |
OnPaint | Raises the Paint event. BinaryColorPickerDropDown overrides it so the control's own handling runs alongside the base behavior. |
ScaleCore | Rescales the drop-down for a new display scale, keeping the swatch grid square. |
Show | This method displays the BinaryColorPickerDropDown window at the user specified position (screen coordinates). |
WndProc | Processes the Windows messages sent to this control's window. |
BinaryColorPickerSelectedColorChanged | This event is raised when the current selected color property of the BinaryColorPickerDropDown class changes. |
Constructors
BinaryColorPickerDropDown
Initializes a new instance of the BinaryColorPickerDropDown class.
Properties
CustomColorRectangleBorderStyle
Gets or sets the Border style ( i.e. Border3DStyle )for painting the borders of custom color boxes in the Custom colors tab page of the control.
Border3DStyle list.SelectedColor
Gets or sets the currently selected color.
Methods
Dispose
Releases the resources held by this BinaryColorPickerDropDown.
- disposing
- true when called from
Dispose; false when called from the finalizer.
OnDeactivate
Raises the Deactivate event. BinaryColorPickerDropDown overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnLoad
Raises the Load event. BinaryColorPickerDropDown overrides it so the control's own handling runs alongside the base behavior.
- e
- The data for the event.
OnPaint
Raises the Paint event. BinaryColorPickerDropDown overrides it so the control's own handling runs alongside the base behavior.
- pe
- The data for the event.
ScaleCore
Rescales the drop-down for a new display scale, keeping the swatch grid square.
- dx
- The horizontal scaling factor.
- dy
- The vertical scaling factor.
Show
This method displays the BinaryColorPickerDropDown window at the user specified position (screen coordinates).
WndProc
Processes the Windows messages sent to this control's window.
Events
BinaryColorPickerSelectedColorChanged
This event is raised when the current selected color property of the BinaryColorPickerDropDown class changes.