ASP.NET Wrap Property
Definition and Usage
The Wrap property is used to set or return whether the 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 of the Panel control to "FALSE":
<form runat="server"> <asp:Panel ID="Pan1" Width="250px" Wrap="FALSE" runat="server"> Some content </asp:Panel> </form>
Example
- Set Line Break Behavior for Panel Controls