Skip to main content
A newer version of this page is available. .

RepositoryItemMemoExEdit.WordWrap Property

Gets or sets a value specifying whether the text is automatically wrapped at the right margin of the editor’s dropdown window.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.2.dll

Declaration

[DXCategory("Behavior")]
[DefaultValue(true)]
public bool WordWrap { get; set; }

Property Value

Type Default Description
Boolean **true**

true if an editor always wraps text at the right margin.

Remarks

The WordWrap property controls automatic word wrapping availability for an extended memo editor.

If this property is true (the default behavior), long strings are wrapped automatically at the right edge of the dropdown window used to display the editor’s text. The wrapping is cosmetic only - text does not include any return characters (carriage-return/linefeed characters) not explicitly entered. When WordWrap is set to true, horizontal scroll bars are not displayed, regardless of the RepositoryItemMemoExEdit.ScrollBars setting.

If you set the WordWrap property to false, the dropdown window automatically scrolls horizontally when the user types past its right edge. In this case, the text does not wrap and the user must press ENTER to start a new line. A long string that does not contain return characters is displayed in a single line.

See Also