A newer version of this page is available. Switch to the current version.

GridView.EditingValue Property

Gets or sets the edited cell value.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v19.2.dll

Declaration

[Browsable(false)]
public override object EditingValue { get; set; }
<Browsable(False)>
Public Overrides Property EditingValue As Object

Property Value

Type Description
Object

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

Remarks

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.

NOTE

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