RepositoryItemMemoEdit.WordWrap Property
Gets or sets whether the editor automatically wraps words to the beginning of the next line when necessary.
Namespace: DevExpress.XtraEditors.Repository
Assembly: DevExpress.XtraEditors.v22.2.dll
NuGet Package: DevExpress.Win.Navigation
Declaration
Property Value
Type | Default | Description |
---|---|---|
Boolean | true | true if the editor automatically wraps words to the beginning of the next line; otherwise, false. |
Remarks
If WordWrap
is enabled, the control automatically wraps words to the next line when necessary so users do not need to scroll the text horizontally. The horizontal scroll bar is not displayed regardless of the ScrollBars setting.
If WordWrap
is disabled, the control starts a new line only where the text contains a carriage-return/linefeed character. The control automatically scrolls horizontally when a user types past its right edge.
Note
The maximum length of a single text line is limited to 1024 characters. After this limit, the text is wrapped even if the WordWrap
setting is disabled.