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

RepositoryItemMemoEdit() Constructor

Initializes a new RepositoryItemMemoEdit class instance with default settings.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v19.1.dll

Declaration

public RepositoryItemMemoEdit()

Remarks

This constructor creates a new RepositoryItemMemoEdit class instance and sets its properties to their default values.

When a MemoEdit control is created, the constructor is automatically invoked to create and initiate a RepositoryItemMemoEdit object exposed via the control’s MemoEdit.Properties property. Generally, you do not need to call the RepositoryItemMemoEdit constructor manually unless you have to create memo edit controls for in-place editing (for use in the Grid Control or other DevExpress container controls).

The following code uses the constructor to assign a memo edit control as an editor for the Details column in the Grid Control control:


RepositoryItemMemoEdit riMemoEdit = new RepositoryItemMemoEdit();
gridControl1.RepositoryItems.Add(riMemoEdit);
gridView1.Columns["Details"].ColumnEdit = riMemoEdit;
See Also