diff options
author | xue <> | 2005-12-31 15:23:57 +0000 |
---|---|---|
committer | xue <> | 2005-12-31 15:23:57 +0000 |
commit | 5479507cbdcbc14685a443b1096171b5134f82bf (patch) | |
tree | 9c8d3028407e7c54c813ea76b048a6a4ec680319 /demos/quickstart/protected/pages/Controls/Samples/TPanel | |
parent | 16c588209ce9197f13f343c83145446c4d92822a (diff) |
Refactored TPanel by adding TPanelStyle.
Added TPanel samples.
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/Samples/TPanel')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page | 56 | ||||
-rw-r--r-- | demos/quickstart/protected/pages/Controls/Samples/TPanel/hello_world.gif | bin | 0 -> 1602 bytes |
2 files changed, 56 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page b/demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page new file mode 100644 index 00000000..7e5e8bcb --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TPanel/Home.page @@ -0,0 +1,56 @@ +<com:TContent ID="body">
+
+<h1>TPanel Samples</h1>
+
+<table class="sampletable">
+
+<tr><td class="samplenote">
+Panel with contents:
+</td><td class="sampleaction">
+<com:TPanel>
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+</com:TPanel>
+</td></tr>
+
+<tr><td class="samplenote">
+Panel with customized background color, font and horizontal alignment:
+</td><td class="sampleaction">
+<com:TPanel
+ BackColor="silver"
+ Font.Size="14pt"
+ HorizontalAlign="Center">
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+</com:TPanel>
+</td></tr>
+
+<tr><td class="samplenote">
+Panel with customized background image, width and scroll bars:
+</td><td class="sampleaction">
+<com:TPanel
+ BackImageUrl=<%~hello_world.gif%>
+ Width="400px"
+ Height="200px"
+ ScrollBars="Both"
+ Wrap="false">
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+</com:TPanel>
+</td></tr>
+
+<tr><td class="samplenote">
+Panel with grouping text:
+</td><td class="sampleaction">
+<com:TPanel GroupingText="grouping text" Width="400px">
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+This is panel content with a <com:TLabel Text="label" Font.Italic="true" />.
+</com:TPanel>
+</td></tr>
+
+</table>
+
+</com:TContent>
\ No newline at end of file diff --git a/demos/quickstart/protected/pages/Controls/Samples/TPanel/hello_world.gif b/demos/quickstart/protected/pages/Controls/Samples/TPanel/hello_world.gif Binary files differnew file mode 100644 index 00000000..bc81443c --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/Samples/TPanel/hello_world.gif |