ColumnBase.EditSettings Property
Gets or sets an object that contains the column editor’s settings. This is a dependency property.
Namespace: DevExpress.Xpf.Grid
Assembly: DevExpress.Xpf.Grid.v18.2.Core.dll
Declaration
Property Value
Type | Description |
---|---|
BaseEditSettings | A BaseEditSettings descendant that specifies the column’s editor. |
Remarks
Cell values are edited using editors that ship with the DXEditors Library. Each editor has the helper class (the BaseEditSettings descendant), responsible for the editor’s functionality. When the same editor is used in multiple locations, the grid uses this helper class to paint its cells. The actual editors are only created when end users start to edit a cell and are automatically destroyed when editing is completed.
Use the EditSettings property to assign the required editor. By default, this property isn’t specified, and the grid automatically creates editors for all columns based on the value type. For instance, if a column is bound to a field that contains DateTime values, the grid creates a date editor for this column. If a column is bound to a field that contains numeric data, the numeric editor is used. Otherwise, the text editor is used. To obtain the column’s actual editor, use the ColumnBase.ActualEditSettings property.
Related GitHub Examples
The following code snippets (auto-collected from DevExpress Examples) contain references to the EditSettings 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.