windowsforms-devexpress-dot-xtragrid-dot-views-dot-grid-dot-gridview-e0e5b288.md
Gets or sets the edited cell value.
Namespace : DevExpress.XtraGrid.Views.Grid
Assembly : DevExpress.XtraGrid.v25.2.dll
NuGet Packages : DevExpress.Win.Grid, DevExpress.Win.Navigation
[Browsable(false)]
public override object EditingValue { get; set; }
<Browsable(False)>
Public Overrides Property EditingValue As Object
| Type | Description |
|---|---|
| Object |
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.
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