TextEdit.AcceptsReturn Property
In This Article
Gets or sets whether an end-user can insert return characters into a text. This is a dependency property.
Namespace: DevExpress.WinUI.Editors
Assembly: DevExpress.WinUI.Editors.v23.2.dll
NuGet Package: DevExpress.WinUI
#Declaration
#Property Value
Type | Description |
---|---|
Boolean | true, to allow return characters to be accepted and processed by the editor; otherwise, false. |
#Remarks
If the AcceptsReturn property is set to true, return characters inserted in code by adding appropriate characters (for instance, “\r\n” for C#) to the TextEdit.Text property are processed by the editor, and result in a new text line. If the AcceptsReturn property is set to false, any text after the return characters will be ignored when assigned to the TextEdit.Text property.
See Also