我如何设置silverlight文本框的多行属性?
答案 0 :(得分:60)
像这样:
<TextBox AcceptsReturn="true" />
答案 1 :(得分:14)
试试这个......
<TextBox Height="300" Width="400" HorizontalScrollBarVisibility="Disabled" VerticalScrollBarVisibility="Auto" VerticalAlignment="Top"
TextWrapping="Wrap" HorizontalAlignment="Right" FontSize="15" FontWeight="Bold" Grid.Column="1" Grid.Row="4" x:Name="txtResponse" Text=""></TextBox>