This topic has not yet been rated - Rate this topic

AcceptsReturn

Silverlight

Gets or sets a value that determines whether a text box accepts newline and carriage-return characters.

<TextBox AcceptsReturn="bool" .../>
value = object.AcceptsReturn
object.AcceptsReturn = value

Type: Boolean

true if the text box accepts newline characters; otherwise, false.

This property is read/write. The default value is false.

When AcceptsReturn is true, newline and carriage-return characters result in a newline applied to the displayed text.

Silverlight 2

Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ