Back to Devexpress

MemoEdit.MemoAcceptsReturn Property

wpf-devexpress-dot-xpf-dot-editors-dot-memoedit-d5d2a9df.md

latest1.6 KB
Original Source

MemoEdit.MemoAcceptsReturn Property

Gets or sets whether an end-user can insert return characters into a text. This is a dependency property.

Namespace : DevExpress.Xpf.Editors

Assembly : DevExpress.Xpf.Core.v25.2.dll

NuGet Package : DevExpress.Wpf.Core

Declaration

csharp
public bool MemoAcceptsReturn { get; set; }
vb
Public Property MemoAcceptsReturn As Boolean

Property Value

TypeDescription
Boolean

true to allow return characters to be accepted and processed by the editor; otherwise, false.

|

Remarks

If the MemoAcceptsReturn property is set to true and the text is being edited within the dropdown, the ENTER key is processed by the editor, and results in a new text line. Otherwise, if the MemoAcceptsReturn property is set to false , return characters are ignored. Return characters, however, can be inserted in code by adding appropriate characters (for instance, “\r\n” for C#) to the Text property.

See Also

MemoAcceptsTab

MemoEdit Class

MemoEdit Members

DevExpress.Xpf.Editors Namespace