Multi-Line TextBox in Silverlight 2

Yes, you can have a multiline TextBox in Silverlight 2.  Naturally you would look for the Multiline property, but it in Silverlight 2 it is AcceptsReturn.  Here is an example:

<TextBox
VerticalScrollBarVisibility=”Visible”
HorizontalScrollBarVisibility=”Auto”
AcceptsReturn=”True”
BorderBrush=”Black”
BorderThickness=”2″
Margin=”5″>
</TextBox>

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

%d bloggers like this: