Skip to main content

GridView.EditingValue Property

Gets or sets the edited cell value.

Namespace: DevExpress.XtraGrid.Views.Grid

Assembly: DevExpress.XtraGrid.v24.1.dll

NuGet Packages: DevExpress.Win.Grid, DevExpress.Win.Navigation

Declaration

[Browsable(false)]
public override object EditingValue { get; set; }

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 Views that display real data within the Grid Control. Use the following methods to access these Views with which an end user interacts at runtime.

See Also