To make a textbox multiline unlike windows forms .Multiline = “True”, in WPF you have to set these 3 properties of TextBox Control.
- TextWrapping="Wrap"
- VerticalScrollBarVisibility="Visible"
- AcceptsReturn="True"
e.g.
<TextBox Height="66" Margin="563,46,265,0" Name="textBox1" VerticalAlignment="Top" AcceptsReturn="True" TextWrapping="Wrap" VerticalScrollBarVisibility="Visible"/>