Class BinaryColorPickerComboBox
A ComboBox styled ColorPicker control emulating the VS.NET color picker.
Namespace: Binarymission.WinForms.Controls.ColorPickers
Assembly: Binarymission.WinForms.Controls.ExtendedColorPickers.dll
Syntax
public class BinaryColorPickerComboBox : ComboBox
Constructors
BinaryColorPickerComboBox()
Initializes a new instance of BinaryColorPickerComboBox class.
Declaration
public BinaryColorPickerComboBox()
Fields
bgbgh
Declaration
protected const int bgbgh = 12
Field Value
Type | Description |
---|---|
Int32 |
Properties
AlphaBlendFactorForControlPainting
Gets or sets the Alpha blending factor value for use when painting the control.
Declaration
public int AlphaBlendFactorForControlPainting { get; set; }
Remarks
Set this property with a value of your choice, to alpha blend/smoothen the control's painting color.
AlphaBlendFactorForDropDownPressedColor
Gets or sets the Alpha blending factor value for use when painting the "pressed" state of the control.
Declaration
public int AlphaBlendFactorForDropDownPressedColor { get; set; }
Remarks
Set this property with a value of your choice, to alpha blend/smoothen the control's "pressed state" painting color.
AlphaBlendFactorForItemSelectionColor
Gets or sets the Alpha blending factor value for use when painting the Item selection background.
Declaration
public int AlphaBlendFactorForItemSelectionColor { get; set; }
Remarks
Set this property with a value of your choice, to alpha blend/smoothen the control's painting color used when painting the Item selection background.
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 dropdown color control.
Declaration
public Border3DStyle CustomColorRectangleBorderStyle { get; set; }
Remarks
Set this property with one of the valid border styles from the Border3DStyle list.
CustomControlBorderColor
Gets or sets the Color value for painting the Control's border.
Declaration
public Color CustomControlBorderColor { get; set; }
Remarks
Set this property with a valid Color value of your choice, to paint the control's border.
By default, this property is set to Highlight value.
CustomPaintingColor
Gets or sets the Color value for painting the Control.
Declaration
public Color CustomPaintingColor { get; set; }
Remarks
Set this property with a valid Color value of your choice, to paint the control.
By default, this property is set to Highlight value.
RightToLeft
RightToLeft is currently not supported. Planned for future release.
Declaration
public override RightToLeft RightToLeft { get; set; }
SelectedColor
Gets or sets the currently selected color in the ColorPicker combobox control.
Declaration
public Color SelectedColor { get; set; }
ShowBorderAlways
Gets or sets whether the control will always have its border displayed, even when the control is not currently in focus.
Declaration
public bool ShowBorderAlways { get; set; }
Remarks
If set to true, the control will always display its border even when the input focus is not on the control.
By default, this property is set to false.
ShowColorNameIfKnownColor
Gets or sets whether to show the color name in the combobox text area, if the chosen/selected/set color is a known color (refer to IsKnownColor for more details).
Declaration
public bool ShowColorNameIfKnownColor { get; set; }
Methods
aqwwwwdwww()
Declaration
protected void aqwwwwdwww()
aqwwwwdwww1()
Declaration
protected virtual void aqwwwwdwww1()
Dispose(Boolean)
Declaration
protected override void Dispose(bool disposing)
Parameters
Type | Name | Description |
---|---|---|
Boolean | disposing |
ggggggbbbbb(Graphics, Rectangle, Int32, Boolean, Boolean)
Declaration
protected void ggggggbbbbb(Graphics g, Rectangle bounds, int index, bool sss, bool eee)
Parameters
Type | Name | Description |
---|---|---|
Graphics | g | |
Rectangle | bounds | |
Int32 | index | |
Boolean | sss | |
Boolean | eee |
ggggggbbbbb1(Graphics, Rectangle, Int32, Boolean, Boolean)
Declaration
protected virtual void ggggggbbbbb1(Graphics g, Rectangle bounds, int Index, bool sss, bool eee)
Parameters
Type | Name | Description |
---|---|---|
Graphics | g | |
Rectangle | bounds | |
Int32 | Index | |
Boolean | sss | |
Boolean | eee |
ghtyuijs(Graphics, Rectangle, Int32, Boolean, Boolean)
Declaration
protected void ghtyuijs(Graphics g, Rectangle bounds, int index, bool sss, bool eee)
Parameters
Type | Name | Description |
---|---|---|
Graphics | g | |
Rectangle | bounds | |
Int32 | index | |
Boolean | sss | |
Boolean | eee |
ghtyuijs1(Graphics, Rectangle, Int32, Boolean, Boolean)
Declaration
protected virtual void ghtyuijs1(Graphics g, Rectangle bounds, int Index, bool sss, bool eee)
Parameters
Type | Name | Description |
---|---|---|
Graphics | g | |
Rectangle | bounds | |
Int32 | Index | |
Boolean | sss | |
Boolean | eee |
gtyh(Int32)
Declaration
protected void gtyh(int s)
Parameters
Type | Name | Description |
---|---|---|
Int32 | s |
OnDrawItem(DrawItemEventArgs)
Declaration
protected override void OnDrawItem(DrawItemEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
DrawItemEventArgs | e |
OnGotFocus(EventArgs)
Declaration
protected override void OnGotFocus(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnHandleCreated(EventArgs)
Declaration
protected override void OnHandleCreated(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnKeyPress(KeyPressEventArgs)
Declaration
protected override void OnKeyPress(KeyPressEventArgs e)
Parameters
Type | Name | Description |
---|---|---|
KeyPressEventArgs | e |
OnLostFocus(EventArgs)
Declaration
protected override void OnLostFocus(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnMouseEnter(EventArgs)
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnMouseLeave(EventArgs)
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
OnPaint(PaintEventArgs)
Declaration
protected override void OnPaint(PaintEventArgs pe)
Parameters
Type | Name | Description |
---|---|---|
PaintEventArgs | pe |
OnSelectedIndexChanged(EventArgs)
Declaration
protected override void OnSelectedIndexChanged(EventArgs e)
Parameters
Type | Name | Description |
---|---|---|
EventArgs | e |
qwertyu(Graphics, String, Font)
Declaration
protected static Size qwertyu(Graphics graphics, string text, Font font)
Parameters
Type | Name | Description |
---|---|---|
Graphics | graphics | |
String | text | |
Font | font |
Returns
Type | Description |
---|---|
Size |
WndProc(ref Message)
Declaration
protected override void WndProc(ref Message m)
Parameters
Type | Name | Description |
---|---|---|
Message | m |
Events
SelectedColorChanged
Fires when the SelectedColor property changes or when the current color is changed by the user (or in the code) by selecting a new color value form the dropdown colorpicker.
Declaration
public event EventHandler SelectedColorChanged
Event Type
Type | Description |
---|---|
EventHandler |