Skip to main content

RepositoryItemMemoExEdit() Constructor

Initializes a new RepositoryItemMemoExEdit class instance with default settings.

Namespace: DevExpress.XtraEditors.Repository

Assembly: DevExpress.XtraEditors.v23.2.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public RepositoryItemMemoExEdit()

Remarks

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

When a MemoExEdit control is created, the constructor is automatically invoked to create and initiate a RepositoryItemMemoExEdit object exposed via the control’s MemoExEdit.Properties property. Generally, you do not need to call the RepositoryItemMemoExEdit constructor manually unless you have to create extended 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 an extended memo edit control as an editor for the Details column in Grid Control control:

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