Skip to main content

MemoEdit.Properties Property

Gets MemoEdit settings.

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v25.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

[DXCategory("Properties")]
[SmartTagSearchNestedProperties]
public RepositoryItemMemoEdit Properties { get; }

Property Value

Type Description
RepositoryItemMemoEdit

Editor settings.

Remarks

Use Properties to access and customize appearance and behavior settings.

Common settings include:

Property Description
AcceptsReturn Gets or sets a value specifying whether return characters can be inserted into text.
AcceptsTab Gets or sets a value specifying whether a user can insert tab characters into text.
LinesCount Gets or sets the number of lines to be displayed in a memo editor when it acts as an in-place control.
ScrollBars Gets or sets whether the control displays the horizontal and/or vertical scroll bar.
WordWrap Gets or sets whether the editor automatically wraps words to the beginning of the next line when necessary.

The following code snippet configures common MemoEdit settings:

memoEdit.Properties.WordWrap = true;
memoEdit.Properties.AcceptsReturn = true;
memoEdit.Properties.ScrollBars = System.Windows.Forms.ScrollBars.Vertical;

The following code snippet (auto-collected from DevExpress Examples) contains a reference to the Properties property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

See Also