[]
        
(Showing Draft Content)

FarPoint.Win.Spread.CellType.FpColorPicker

FpColorPicker Class

Represents the FarPoint color picker control.

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

Constructors

Name Description
FpColorPicker()

Creates a new FarPoint color picker control.

Properties

Name Description
AlignHorz

Gets or sets the horizontal alignment of the color picker.

AlignVert

Gets or sets the vertical alignment of the color picker.

AllowFullOpen

Gets or sets whether to allow the color picker dialog to open fully.

AnyColor

Gets or sets whether any color is allowed (typically for systems that can handle the full set of colors).

BoxWidth

Gets or sets the width (in pixels) of the box in the color picker.

Color

Gets or sets the color in the color picker dialog.

CustomColors

Gets or sets the array of custom colors to display in the color picker dialog.

DropDown

Gets or sets whether to drop down the color picker dialog by default.

FullOpen

Gets or sets whether to display the color picker dialog fully open.

IsShowing

Gets or sets whether the color picker dialog is showing.

SolidColorOnly

Gets or sets whether solid colors only are displayed (typically for systems that can handle a limited set of colors).

Style

Gets or sets the style of the color picker.

Text

Gets or sets the text associated with this control.

UnknownText

Gets or sets the text for unknown colors.

UnknownTextStyle

Gets or sets the style of text for unknown colors.

Methods

Name Description
DoPaint(Graphics, Rectangle, Color, Color, Font, Color, string, HorizontalAlignment, VerticalAlignment, ColorPickerStyle, UnknownTextStyle, string, bool, int)

Paints the cell.

DoPaint(Graphics, Rectangle, Color, Color, Font, Color, string, HorizontalAlignment, VerticalAlignment, ColorPickerStyle, UnknownTextStyle, string, bool, int, float)

Paints the cell.

Equals(object)

Determines whether the specified object, is equal to this instance.

GetHashCode()

Serves as the default hash function.

IsInputKey(Keys)

Determines whether the specified key is an input key that the component can handle without preprocessing.

OnAfterFocus(EventArgs)

Raises the AfterFocus event

OnGotFocus(EventArgs)

Raises the GotFocus event.

OnKeyDown(KeyEventArgs)

Processes the key down event.

OnKeyPress(KeyPressEventArgs)

Processes the key press event.

OnMouseDown(MouseEventArgs)

Processes the mouse down event.

OnPaint(PaintEventArgs)

Handles the paint event.

OnValueChanged(EventArgs)

Raises the ValueChanged event.

ProcessDialogChar(char)

Determines whether to process the dialog character.

ProcessDialogKey(Keys)

Determines whether to process the dialog key.

ShowColorDialog()

Displays the color dialog.

Events

Name Description
AfterFocus

Occurs after the control gets focus.

ValueChanged

Occurs when the value changes.