HypernovaDesktop Components · docs
Binarymission
WinFormsOffice2007 Color Picker › BinaryOfficeColorPicker

BinaryOfficeColorPicker

class.NET 6 / 8 / 10.NET Framework 4.8Binarymission.WinForms.Controls.ColorPickers

The Office style color picker surface. This is the user control that BinaryOfficeColorPickerComboBox creates and drops down, and it can also be hosted directly by an application that wants the picker without the combo box.

public partial class BinaryOfficeColorPicker : UserControl

Inherits from / implements: UserControl

Members at a glance

BinaryOfficeColorPickerInitializes a new instance of the BinaryOfficeColorPicker class.
AlphaValueGets or sets the alpha value.
BlendTargetColorGets or sets the color of the blend target.
BorderColorGets or sets the color of the drop-down window's border.
EnableSettingAlphaValueGets or sets a value indicating whether to enable setting alpha value.
HeadingBackColorGets or sets the backcolor of the heading.
HeadingForeColorGets or sets the forecolor of the heading label.
SelectedColorRectangleBorderGets or sets the selected color's rectangle border.
ShowHSBInToolTipGets or sets a value indicating whether to show HSB in tooltip.
ShowToolTipGets or sets a value indicating whether to show tooltip.
UserSelectedColorGets or sets the user selected color.
OnDoubleClickRaises the DoubleClick event. BinaryOfficeColorPicker overrides it so the control's own handling runs alongside the base behavior.
BinaryColorPickerSelectedColorChangedThis event is raised when the current selected color property of the BinaryOfficeColorPicker class changes.
SelectionCommittedOccurs when the user committs a color selectio.

Constructors

BinaryOfficeColorPicker

public BinaryOfficeColorPicker() : base()

Initializes a new instance of the BinaryOfficeColorPicker class.

Properties

AlphaValue

public int AlphaValue

Gets or sets the alpha value.

Value. The alpha value.

BlendTargetColor

public Color BlendTargetColor

Gets or sets the color of the blend target.

Value. The color of the blend target.

BorderColor

public Color BorderColor

Gets or sets the color of the drop-down window's border.

Value. The color of the border.

EnableSettingAlphaValue

public bool EnableSettingAlphaValue

Gets or sets a value indicating whether to enable setting alpha value.

HeadingBackColor

public Color HeadingBackColor

Gets or sets the backcolor of the heading.

HeadingForeColor

public Color HeadingForeColor

Gets or sets the forecolor of the heading label.

SelectedColorRectangleBorder

public Color SelectedColorRectangleBorder

Gets or sets the selected color's rectangle border.

Value. The selected color's rectangle border.

ShowHSBInToolTip

public bool ShowHSBInToolTip

Gets or sets a value indicating whether to show HSB in tooltip.

ShowToolTip

public bool ShowToolTip

Gets or sets a value indicating whether to show tooltip.

UserSelectedColor

public Color UserSelectedColor

Gets or sets the user selected color.

Methods

OnDoubleClick

protected override void OnDoubleClick(EventArgs e)

Raises the DoubleClick event. BinaryOfficeColorPicker overrides it so the control's own handling runs alongside the base behavior.

e
The data for the event.

Events

BinaryColorPickerSelectedColorChanged

public event EventHandler<BinaryColorPickerExtendedEventArgs> BinaryColorPickerSelectedColorChanged

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

SelectionCommitted

public event EventHandler<BinaryColorPickerExtendedEventArgs> SelectionCommitted

Occurs when the user committs a color selectio.