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.
- C#
- VB.NET
public class ColorPicker : wxBase
Public Class ColorPicker
Inherits wxBase
Constructors
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);
ColorPicker(options)
Constructs a new instance of the ColorPicker class.
| Name | Type | Description |
|---|---|---|
| options | Object | Initial 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);