Class 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.
Assembly: Binarymission.WinForms.Controls.ExtendedColorPickers.dll
public class BinaryColorPickerDropDown : Form
Constructors
Initializes a new instance of the BinaryColorPickerDropDown class.
Declaration
public BinaryColorPickerDropDown()
Properties
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.
Declaration
public Border3DStyle CustomColorRectangleBorderStyle { get; set; }
Gets or sets the currently selected color.
Declaration
public Color SelectedColor { get; set; }
Methods
Declaration
protected override void Dispose(bool disposing)
Parameters
Type |
Name |
Description |
Boolean |
disposing |
|
Declaration
protected override void OnDeactivate(EventArgs e)
Parameters
Declaration
protected override void OnLoad(EventArgs e)
Parameters
Declaration
protected override void OnPaint(PaintEventArgs pe)
Parameters
Declaration
protected override void ScaleCore(float dx, float dy)
Parameters
This method displays the BinaryColorPickerDropDown window at the user specified position (screen coordinates).
Declaration
public void Show(Point targetPostion)
Parameters
Type |
Name |
Description |
Point |
targetPostion |
|
Declaration
protected override void WndProc(ref Message m)
Parameters
Events
Declaration
public event EventHandler BinaryColorPickerSelectedColorChanged
Event Type