Mega Code Archive

 
Categories / VB.Net Tutorial / WPF
 

Single line and Multiline TextBox

<Page xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"       xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"       HorizontalAlignment="Center" VerticalAlignment="Center">                 <StackPanel Orientation="Horizontal">           <TextBox Margin="5" VerticalAlignment="Center" Text="Single line textbox" />                    <TextBox AcceptsReturn="True" Margin="5" Height="50" VerticalScrollBarVisibility="Visible"                    VerticalAlignment="Center" Text="Multiline textbox" />                  </StackPanel> </Page>