TextEditSettings Class

Contains settings specific to the TextEdit editor.

Namespace: DevExpress.Xpf.Editors.Settings

Assembly: DevExpress.Xpf.Core.v20.1.dll

Declaration

public class TextEditSettings :
    BaseEditSettings,
    ISupportTextHighlighting
Public Class TextEditSettings
    Inherits BaseEditSettings
    Implements ISupportTextHighlighting

Remarks

DevExpress container controls (GridControl, TreeListControl, etc.) use DevExpress WPF Editors to edit data they display. Each editor has the helper class (the BaseEditSettings descendant), responsible for the editor's functionality. When the same editor is used in multiple locations, a container control uses this helper class to paint its cells. The actual editors are only created when end-users start to edit, and are automatically destroyed when editing is completed. For more information about in-place editing, see In-place Editors.

For detailed information on text editors, see TextEdit.

Example

The following sample demonstrates how to embed a TextEdit into a GridControl column.

<dxg:GridControl>
    <dxg:GridColumn FieldName="FirstName">
        <dxg:GridColumn.EditSettings>
            <dxe:TextEditSettings/>
        </dxg:GridColumn.EditSettings>
    </dxg:GridColumn>
    <dxg:GridControl.View>
        <dxg:TableView/>
    </dxg:GridControl.View>
</dxg:GridControl>
See Also