Skip to main content

ColorBoard

Namespace: Wisej.Web.Ext.Webix

Assembly: Wisej.Web.Ext.Webix (4.1.0.0)

UI-related colorboard is a tool to get the hex code of a color that you are going to use for styling. By default, colors are presented in a rainbow-like manner. The detalization level you set manually.

public class ColorBoard : wxBase

Constructors​

Instance member ColorBoard()​

Constructs a new instance of the ColorBoard class.

Example:

The following example creates a color board with a preselected color.

var board = new ColorBoard();
board.Options.value = "#3498DB";
board.Size = new Size(300, 300);
this.Controls.Add(board);

Instance member ColorBoard(options)​

Constructs a new instance of the ColorBoard class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates a color board with a palette of 12 columns and 8 rows.

var board = new ColorBoard(new
{
cols = 12,
rows = 8,
value = "#751FE0"
});
board.Size = new Size(360, 240);
this.Controls.Add(board);

Implements​