From 67666aaccb4b4743a084b214722e1173e827e9d1 Mon Sep 17 00:00:00 2001 From: "ctrlaltca@gmail.com" <> Date: Wed, 1 Jun 2011 22:14:00 +0000 Subject: upported recent documentation changes from branch/3.1 to trunk/ --- .../protected/pages/Controls/ColorPicker.page | 29 +++++++++++++++-- .../quickstart/protected/pages/Controls/Head.page | 34 +++++++++++++++++++- .../pages/Controls/Samples/TColorPicker/Home.page | 37 ++++++++++++++++++++++ .../protected/pages/Controls/Standard.page | 4 +-- 4 files changed, 99 insertions(+), 5 deletions(-) create mode 100644 demos/quickstart/protected/pages/Controls/Samples/TColorPicker/Home.page (limited to 'demos/quickstart/protected/pages/Controls') 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.
+ +-TBD +THead displays a head element on a page. It displays the content +enclosed in its body and the page title set by the Title property. +
+ ++In addition, stylesheets and JavaScripts registered via +
+THead also manages and displays meta tags through its MetaTags +property. You can add a meta object to the collection in code dynamically, +or add it in template using the following syntax +
+ ++Note, TPage has a property Head that refers to +the THead control currently on the page. A page can have at most one THead +control. Although not required, it is recommended to place a THead on your page. +Without a THead on the page, stylesheets and javascripts in the current page +theme will not be rendered.
Default TColorPicker, Mode="Basic" | +
+ |
+
Mode="Simple" pre-selected red color |
+
+ |
+
Mode="Full" | +
+ |
+
Disabled color picker panel: ShowColorPicker="false" | +
+ |
+