From ad30a2e5e2bbe11908a78e7731ed5d2d8c55c9b9 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Wed, 1 Jun 2011 19:49:56 +0000 Subject: added documentation for TColorPicker class --- .../protected/pages/Controls/ColorPicker.page | 29 ++++++++++++++++++++-- 1 file changed, 27 insertions(+), 2 deletions(-) (limited to 'demos/quickstart/protected/pages/Controls/ColorPicker.page') diff --git a/demos/quickstart/protected/pages/Controls/ColorPicker.page b/demos/quickstart/protected/pages/Controls/ColorPicker.page index cc931840..57c39857 100644 --- a/demos/quickstart/protected/pages/Controls/ColorPicker.page +++ b/demos/quickstart/protected/pages/Controls/ColorPicker.page @@ -3,8 +3,33 @@
-TBD +
+TColorPicker displays a text box for color input purpose.
+Next to the textbox there's a button filled with the current chosen color.
+Users can write a color name directly in the text box as an hex triplet (also known as HTML notation, eg: #FF00FF).
+
Alternatively, if the ShowColorPicker property is enabled (it is by default), users can click the button
+to have a color picker UI appear. A color chan be chosen directly by clicking on the color picker.
+TColorPicker has three different color picker UI Modes:
+The CssClass property can be used to override the CSS class name +for the color picker panel. The ColorStyle property changes the overall color picker style. +The following ColorStyle values are available:
+If the Mode property is set to Full, the color picker panel will +display an "Ok" and "Cancel" buttons. You can customize the button labels setting the OKButtonText +and CancelButtonText properties.
+ +