| 1 |
lars |
1 |
<com:TContent ID="body" >
|
|
|
2 |
|
|
|
3 |
<h1 id="3301">TInlineFrame</h1>
|
|
|
4 |
<com:DocLink ClassPath="System.Web.UI.WebControls.TInlineFrame" />
|
|
|
5 |
|
|
|
6 |
<p id="380274" class="block-content">
|
|
|
7 |
<tt>TInlineFrame</tt> displays an inline frame (<iframe>) on a Web page. The location of the frame content is specified by the <tt>FrameUrl</tt> property.
|
|
|
8 |
</p>
|
|
|
9 |
<p id="380275" class="block-content">
|
|
|
10 |
The appearance of a <tt>TInlineFrame</tt> may be customized with the following properties, in addition to those inherited from <tt>TWebControl</tt>.
|
|
|
11 |
</p>
|
|
|
12 |
<ul id="u1" class="block-content">
|
|
|
13 |
<li><tt>Align</tt> - the alignment of the frame.</li>
|
|
|
14 |
<li><tt>DescriptionUrl</tt> - the URI of a long description of the frame's contents.</li>
|
|
|
15 |
<li><tt>MarginWidth</tt> and <tt>MarginHeight</tt> - the number of pixels to use as the left/right margins and top/bottom margins, respectively.</li>
|
|
|
16 |
<li><tt>ScrollBars</tt> - whether scrollbars are provided for the inline frame. By default, it is <tt>Auto</tt>, meaning the scroll bars appear as needed. Setting it as <tt>None</tt> or <tt>Both</tt> to explicitly hide or show the scroll bars.</li>
|
|
|
17 |
</ul>
|
|
|
18 |
|
|
|
19 |
<p id="380276" class="block-content">
|
|
|
20 |
The following samples show <tt>TInlineFrame</tt> with different property settings. The Google homepage is used as the frame content.
|
|
|
21 |
</p>
|
|
|
22 |
<com:RunBar PagePath="Controls.Samples.TInlineFrame.Home" />
|
|
|
23 |
|
|
|
24 |
<div class="last-modified">$Id: InlineFrame.page 1650 2007-01-24 06:55:32Z wei $</div></com:TContent>
|