Skip to main content

ColorPicker

Namespace: Wisej.Web.Ext.Webix

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

Colorpicker allows for selecting a color from the dedicated colorboard that is initialized on clicking its input field.

public class ColorPicker : wxBase

Constructors​

Instance member ColorPicker()​

Constructs a new instance of the ColorPicker class.

Example:

The following example creates a color picker with a label and an initial color.

var picker = new ColorPicker();
picker.Options.label = "Background";
picker.Options.value = "#FFAADD";
picker.Size = new Size(300, 40);
this.Controls.Add(picker);

Instance member ColorPicker(options)​

Constructs a new instance of the ColorPicker class.

NameTypeDescription
optionsObjectInitial set of options.

Example:

The following example creates a color picker passing the label, its width and the initial color.

var picker = new ColorPicker(new
{
label = "Text color",
labelWidth = 120,
value = "#1A1A1A"
});
picker.Size = new Size(320, 40);
this.Controls.Add(picker);

Implements​