←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#
Objective-C
C++/CLI
Python
public bool AcceptsReturn { get; set; } 
@property (nonatomic, assign) BOOL acceptsReturn; 
public:  
   property bool AcceptsReturn 
   { 
      bool get() 
      void set(bool value) 
   } 
AcceptsReturn # get and set (AnnTextEditDesigner) 

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 23.0.2024.5.15
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2024 LEAD Technologies, Inc. All Rights Reserved.

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