ASP.NET Panel WrapProperty


Panel 控件Panel Control

Definition and Usage

The Wrap property is used to set or return whether content wraps in the Panel control.

Syntax

<asp:Panel Wrap="TRUE|FALSE" runat="server">
Some Content
</asp:Panel>


Example

The following example sets the Wrap property in the Panel control to "FALSE":

<form runat="server">
<asp:Panel ID="Pan1" Width="250px"
Wrap="FALSE" runat="server">

Some content

</asp:Panel>
</form>

Show Example »

Panel 控件Panel Control Other Extensions