diff options
author | kabayan <> | 2007-08-23 10:25:17 +0000 |
---|---|---|
committer | kabayan <> | 2007-08-23 10:25:17 +0000 |
commit | e2f3b5fce11e0ced17f6a6df7c08a98cfa0fa540 (patch) | |
tree | b0de1ae62fa4fb1403d9f6218fe09b714ef31ab7 /demos/quickstart/protected/pages/Controls/id/TextHighlighter.page | |
parent | c4f8cbabdf91cd6a4a45ff879f1210217f6c9f8e (diff) |
Indonesian QuickStart Controls without Samples
Diffstat (limited to 'demos/quickstart/protected/pages/Controls/id/TextHighlighter.page')
-rw-r--r-- | demos/quickstart/protected/pages/Controls/id/TextHighlighter.page | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/demos/quickstart/protected/pages/Controls/id/TextHighlighter.page b/demos/quickstart/protected/pages/Controls/id/TextHighlighter.page new file mode 100644 index 00000000..f99bc46d --- /dev/null +++ b/demos/quickstart/protected/pages/Controls/id/TextHighlighter.page @@ -0,0 +1,26 @@ +<com:TContent ID="body" >
+
+<h1 id="4601">TTextHighlighter</h1>
+<com:DocLink ClassPath="System.Web.UI.WebControls.TTextHighlighter" />
+
+<p id="530316" class="block-content">
+<tt>TTextHighlighter</tt> melakukan penerangan sintaks untuk konten badannya, termasuk teks statis dan hasil penyajian dari kontrol anaknya. Teks yang sedang diterangi mengikuti sintaks <tt>Language</tt> yang ditetapkan, yang dapat berupa 'php' (standar), 'prado', 'css', 'html', dll. Di sini, 'prado' terdiri dari sintaks template kontrol PRADO.
+</p>
+<p id="530317" class="block-content">
+Jika nomor baris diinginkan di depan setiap baris, setel <tt>ShowLineNumbers</tt> ke true.
+</p>
+<p id="530318" class="block-content">
+Untuk menggunakan <tt>TTextHighlighter</tt>, cukup kurung konten yang sintaksnya akan diterangi di dalam badan pada kontrol <tt>TTextHighlighter</tt>. Contoh berikut menerangi bagian kode PHP,
+</p>
+<com:TTextHighlighter Language="prado" CssClass="source block-content" id="code_530113">
+<com:TTextHighlighter ShowLineNumbers="true">
+<?php
+$str = 'one|two|three|four';
+print_r(explode('|', $str, 2)); // akan mengeluarkan array
+?>
+</com:TTextHighlighter>
+</com:TTextHighlighter>
+
+<com:RunBar PagePath="Controls.Samples.TTextHighlighter.Home" />
+
+<div class="last-modified">$Id: TextHighlighter.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>
\ No newline at end of file |