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.

Properties

BoxHeight

Height of a color box

BoxWidth

Width of a color box

Cursor

Cursor for the selected color.

SelectedColor

Selected color.

Methods

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.

OnDrawContent(Rectangle)

Draws the view's content, including Subviews.

Events

ColorChanged

Fired when a color is picked.