TextBoxBase::AcceptsReturn Property
.NET Framework (current version)
Gets or sets a value that indicates how the text editing control responds when the user presses the ENTER key.
Assembly: PresentationFramework (in PresentationFramework.dll)
Property Value
Type: System::Booleantrue if pressing the ENTER key inserts a new line at the current cursor position; otherwise, the ENTER key is ignored. The default value is false for TextBox and true for RichTextBox.
.NET Framework
Available since 3.0
Available since 3.0
Show: