ASP.NET Panel Wrap 屬性
定義和用法
Wrap 屬性用於設置或返回在Panel 控件中內容是否折行。
語法
<asp:Panel Wrap="TRUE|FALSE" runat="server">
Some Content
</asp:Panel>
Some Content
</asp:Panel>
實例
下面的實例把Panel 控件中的Wrap 屬性設置為"FALSE":
<form runat="server">
<asp:Panel ID="Pan1" Width="250px"
Wrap="FALSE" runat="server">
Some content
</asp:Panel>
</form>
<asp:Panel ID="Pan1" Width="250px"
Wrap="FALSE" runat="server">
Some content
</asp:Panel>
</form>
演示實例»
Panel控件