Table of Contents

Class ColorPicker

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

The ColorPickerView Color picker.

public class ColorPicker : View, IDisposable, ISupportInitializeNotification, ISupportInitialize
Inheritance
ColorPicker
Implements
Inherited Members

Constructors

ColorPicker()

Initializes a new instance of ColorPicker.

ColorPicker(ustring)

Initializes a new instance of ColorPicker.

ColorPicker(int, int, ustring)

Initializes a new instance of ColorPicker.

ColorPicker(Point, ustring)

Initializes a new instance of ColorPicker.

Properties

Cursor

Cursor for the selected color.

SelectedColor

Selected color.

Methods

MouseEvent(MouseEvent)

Method invoked when a mouse event is generated

MoveDown()

Moves the selected item index to the next row.

MoveLeft()

Moves the selected item index to the previous column.

MoveRight()

Moves the selected item index to the next column.

MoveUp()

Moves the selected item index to the previous row.

ProcessKey(KeyEvent)

If the view is focused, gives the view a chance to process the keystroke.

Redraw(Rect)

Redraws this view and its subviews; only redraws the views that have been flagged for a re-display.

Events

ColorChanged

Fired when a color is picked.