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.v14.2.Core.dll
#Declaration
#Property Value
Type | Description |
---|---|
Base |
A Base |
#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.
To learn more, see Inplace Editors Overview and Assigning Editors to Columns.