←Select platform

AcceptsReturn Property

Summary

Indicates whether pressing ENTER within a multi-line TextBox control creates a new line of text in the control or activates the default button for the form.

Syntax
C#
VB
C++
public bool AcceptsReturn { get; set; } 
Public Property AcceptsReturn() As Boolean 
   Get 
   Set 
public:  
   property bool AcceptsReturn 
   { 
      bool get() 
      void set(bool value) 
   } 

Property Value

true if pressing ENTER creates a new line of text in a multi-line version of the control; false if pressing ENTER activates the default button for the form. The default value is false.

Requirements
Target Platforms
Help Version 21.0.2021.6.30
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools.Annotations.Designers Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.