Skip to main content

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.v24.2.dll

Declaration

[DefaultValue(true)]
[DXCategory("Behavior")]
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