Overview
You can customize the text/appearance of all the individual UI elements
when using the default layout template, or provide your own custom layout
template.
Customizing default layout template
The default layout template displays the color field and slider on the left
and RGB/HSB textbox on the right. The following properties can be used to
customize/localize UI elements when using the default layout:
| Property |
Remarks |
|
RLabelText
|
Gets or sets the text for the red component text box label.
|
|
GLabelText
|
Gets or sets the text for the green component text box label.
|
|
BLabelText
|
Gets or sets the text for the blue component text box label.
|
|
HueLabelText
|
Gets or sets the text for the hue text box label.
|
|
SatLabelText
|
Gets or sets the text for the saturation text box label.
|
|
BrtLabelText
|
Gets or sets the text for the brightness text box label.
|
|
OKButtonText
|
Gets or sets the text for the OK button.
|
|
TitleText
|
Gets or sets the text for the popup title.
|
|
WebColorLabelText
|
Gets or sets the text for the web color text box label.
|
|
WebSafeLabelText
|
Gets or sets the text for the red component text box label.
|
|
PopupStyle
|
Gets or sets the style applied to the popup window.
|
|
ButtonStyle
|
Gets or sets the styles applied to all buttons in the popup window.
|
|
TextBoxStyle
|
Gets or sets the style used by textboxes in the color picker popup.
|
|
ColorModel
|
Gets or sets the color model used by the color picker.
|
Providing custom layout template
The content and layout of the color picker popup can be completely replaced with
PopupLayoutTemplate
property. Properties listed above will have no effect when custom layout template
is used.