summaryrefslogtreecommitdiff
path: root/demos/quickstart/protected/pages/Controls/Panel.page
blob: b402cd8f8797aea3267f5ed1d7bf50ce214e5c5d (plain)
1
2
3
4
5
6
7
8
9
10
11
<com:TContent ID="body" >

<h1>TPanel</h1>
<com:DocLink ClassPath="System.Web.UI.WebControls.TPanel" />

<p>
<tt>TPanel</tt> acts as a presentational container for other control. It displays a &lt;div&gt; element on a page. The property <tt>Wrap</tt> specifies whether the panel's body content should wrap or not, while <tt>HorizontalAlign</tt> governs how the content is aligned horizontally and <tt>Direction</tt> indicates the content direction (left to right or right to left). You can set <tt>BackImageUrl</tt> to give a background image to the panel, and you can ste <tt>GroupingText</tt> so that the panel is displayed as a field set with a legend text. Finally, you can specify a default button to be fired when users press 'return' key within the panel by setting the <tt>DefaultButton</tt> property.
</p>
<com:RunBar PagePath="Controls.Samples.TPanel.Home" />

</com:TContent>