summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Samples/Label.page
blob: 381541a01a42fd2540070af5e27eba2789b14550 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<com:TContent ID="body">

<h1>TLabel Samples</h1>

<div class="samplepanel">

<com:TLabel
	Text="This is a label with customized color and font."
	ForeColor="yellow"
	BackColor="blue"
	Font.Name="Arial"
	Font.Size="14pt"
/>

</div>

<div class="samplepanel">

<com:TLabel
	Text="This is a form label associated with the TTextBox control below."
	AssociatedControlID="test"
/>

<br/><com:TTextBox ID="test" />

</div>

<div class="samplepanel">

<com:TLabel ForeColor="blue" Style="color:red;">
This is a label with empty Text property and <b>nonempty body</b>.
</com:TLabel>

</div>

<div class="samplepanel">

<com:TLabel
	Text="This is a disabled label."
	Enabled="false"
/>

</div>

</com:TContent>