?
This document uses PHP Chinese website manual Release
Wrap 屬性用于設(shè)置或返回在多行文本框中文本內(nèi)容是否換行。
該屬性僅在 TextMode="Multiline" 時(shí)使用。
<asp:TextBox?Wrap="TRUE|FALSE"?TextMode="MultiLine"?runat="server"/>
下面的實(shí)例把 Wrap 屬性設(shè)置為 "False":
<form runat="server">
<asp:TextBox id="tb1" runat="server"
TextMode="MultiLine" Wrap="False" />
</form>