MemoEdit
- 2 minutes to read
Overview
The MemoEdit control is a dropdown text editor.
The MemoEdit control offers the following features.
Optional Enter and Tab key processing
If the MemoEdit.MemoAcceptsReturn and MemoEdit.MemoAcceptsTab properties are set to true, MemoEdit processes the Enter and Tab key presses.
Resizable popup
End-users can resize a MemoEdit popup at runtime using the size grip. The MemoEdit‘s PopupBaseEdit.ShowSizeGrip property controls the availability of the size grip.
Optional popup footer buttons
Use the PopupBaseEdit.PopupFooterButtons property to control the availability of the footer buttons.
Optional word wrapping
Use the MemoEdit.MemoTextWrapping property to automatically break the lines between words.
Optional icon
You can control the visibility of the memo icon using the MemoEdit.ShowIcon property.
Optimized for in-place editing
MemoEdit can be used standalone or as an in-place editor nested in a container control. The MemoEditSettings class implements the in-place editing functionality. See In-place Editors to learn more.
Standalone MemoEdit
To add a standalone MemoEdit to a Window, drag it from the Toolbox.
The following sample demonstrates how to create a MemoEdit using XAML markup.
<dxe:MemoEdit PopupHeight="200" PopupWidth="150" MemoTextWrapping="Wrap"/>
In-place MemoEdit
To embed a MemoEdit into a container control, use the MemoEditSettings class.
The following sample demonstrates how to embed a MemoEdit into a GridControl column.
<dxg:GridControl>
<dxg:GridColumn FieldName="AdditionalInformation">
<dxg:GridColumn.EditSettings>
<dxe:MemoEditSettings/>
</dxg:GridColumn.EditSettings>
</dxg:GridColumn>
<dxg:GridControl.View>
<dxg:TableView/>
</dxg:GridControl.View>
</dxg:GridControl>