ColumnView.EditingValueModified Property
Determines whether the edited cell value has been changed since the cell editor was activated.
Namespace: DevExpress.XtraGrid.Views.Base
Assembly: DevExpress.XtraGrid.v24.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true if the edit value has been changed; otherwise, false. |
Remarks
If the View is not in edit mode, the EditingValueModified property returns false.
The edit value can be accessed using the ColumnView.EditingValue property. You can complete data editing saving changes to the edit value by calling the BaseView.CloseEditor method. If you don’t want to save changes made, call the BaseView.HideEditor method. End-users can also cancel changes made by pressing the ESC key. If they press the ENTER key or move focus away from the edited cell, the edited value is accepted.
Note
Detail pattern Views do not contain data and they are never displayed within XtraGrid. So, the EditingValueModified member must not be invoked for these Views. The EditingValueModified 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.
- GridControl.MainView - returns the top most View in a grid;
- GridControl.FocusedView - returns the focused View;
- GridControl.DefaultView - returns the currently maximized View;
- the sender parameter of View specific events;
- GridView.GetDetailView - returns a detail clone View for a specific master row.