GridView.EditingValue Property

Gets or sets the edited cell value.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v21.2.dll


public override object EditingValue { get; set; }

Property Value

Type Description

A Object representing the edited cell value. null (Nothing in Visual Basic) if no cell is currently being edited.


You can use the GridView.IsEditing property to determine whether the end-user is currently editing a cell. If the property returns true, you can use the EditingValue property to access or change the edit value. Otherwise, assigning values to this property will have no effect.

You can also use the editor assigned to a cell to modify its value. The editor currently active can be obtained using the ColumnView.ActiveEditor property.

While a cell is being edited you can obtain the column and row to which it belongs via the ColumnView.FocusedColumn and ColumnView.FocusedRowHandle properties.


Detail pattern Views do not contain data and they are never displayed within XtraGrid. So, the EditingValue member must not be invoked for these Views. The EditingValue member can only be used with real Views that are displayed within the Grid Control. The real Views with which an end-user interacts at runtime can be accessed using the following methods.

See Also