[]
        
(Showing Draft Content)

FarPoint.Win.ColorPicker

ColorPicker Class

Represents a color picker.

Inheritance
ColorPicker
Namespace: FarPoint.Win
Assembly: FarPoint.Win.dll
Syntax
public class ColorPicker : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Public Class ColorPicker
    Inherits Control
    Implements IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable

Constructors

Name Description
ColorPicker()

Creates a color picker with the default color name.

ColorPicker(Color)

Creates a color picker with the specified color.

ColorPicker(Color, bool)

Creates a color picker with the specified color and whether to use the drop-down control.

Properties

Name Description
Color

Gets or sets the currently selected color.

Height

Gets or sets the height of the color picker.

ShowColorName

Gets or sets the whether the color picker displays the name of the currently selected color.

Methods

Name Description
CloseDropDown()

Closes the drop-down control.

OnColorChanged(EventArgs)

Fires the ColorChanged event.

SetColor(Color)

Sets the associated check box color and text according to the TextDisplayed property value.

ShowDropDown()

Shows the drop-down control.

Events

Name Description
ColorChanged

Occurs when the Color property changes.