Search Results for

    Show / Hide Table of Contents

    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.

    Namespace: Binarymission.WinForms.Controls.ColorPickers
    Assembly: Binarymission.WinForms.Controls.ExtendedColorPickers.dll
    Syntax
    public class BinaryColorPickerDropDown : Form

    Constructors

    BinaryColorPickerDropDown()

    Initializes a new instance of the BinaryColorPickerDropDown class.

    Declaration
    public BinaryColorPickerDropDown()

    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.

    Declaration
    public Border3DStyle CustomColorRectangleBorderStyle { get; set; }
    Remarks

    Set this property with one of the valid border styles from the Border3DStyle list.

    SelectedColor

    Gets or sets the currently selected color.

    Declaration
    public Color SelectedColor { get; set; }

    Methods

    Dispose(Boolean)

    Declaration
    protected override void Dispose(bool disposing)
    Parameters
    Type Name Description
    Boolean disposing

    OnDeactivate(EventArgs)

    Declaration
    protected override void OnDeactivate(EventArgs e)
    Parameters
    Type Name Description
    EventArgs e

    OnLoad(EventArgs)

    Declaration
    protected override void OnLoad(EventArgs e)
    Parameters
    Type Name Description
    EventArgs e

    OnPaint(PaintEventArgs)

    Declaration
    protected override void OnPaint(PaintEventArgs pe)
    Parameters
    Type Name Description
    PaintEventArgs pe

    ScaleCore(Single, Single)

    Declaration
    protected override void ScaleCore(float dx, float dy)
    Parameters
    Type Name Description
    Single dx
    Single dy

    Show(Point)

    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

    WndProc(ref Message)

    Declaration
    protected override void WndProc(ref Message m)
    Parameters
    Type Name Description
    Message m

    Events

    BinaryColorPickerSelectedColorChanged

    This event is raised when the current selected color property of the BinaryColorPickerDropDown class changes.

    Declaration
    public event EventHandler BinaryColorPickerSelectedColorChanged
    Event Type
    Type Description
    EventHandler
    In This Article
    Back to top Copyright © Binarymission Technologies Ltd., UK.