Version

AcceptsReturn Property

Gets or sets a value that indicates how the text editing control responds when the user presses the ENTER key.
Syntax
'Declaration
 
Public Property AcceptsReturn As Boolean
public bool AcceptsReturn {get; set;}

Property Value

true if pressing the ENTER key inserts a new line at the current cursor position; otherwise, the ENTER key is ignored. The default value is true.
Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also