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.v26.1.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.
Notes
- In regular paint mode, the
WordWrapproperty is only in effect when the editor is active. Use the column’s AppearanceCell.TextOptions.WordWrap property to control text wrapping on cell display. - In advanced mode (see UseAdvancedMode), the
WordWrapproperty is always in effect and has priority over the column’s AppearanceCell.TextOptions.WordWrap property.