Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

CellEditorCommitMode Enum

Lists values used to specify when the SpreadsheetControl.CellValueChanged event should be raised after a cell value has been edited via the cell editor and committed.

Namespace: DevExpress.XtraSpreadsheet

Assembly: DevExpress.Spreadsheet.v24.2.Core.dll

NuGet Package: DevExpress.Spreadsheet.Core

#Declaration

public enum CellEditorCommitMode

#Members

Name Description
Auto

Defined automatically when the SpreadsheetControl.CellValueChanged event should be raised for cells whose values have been edited via the cell editor and committed.

Always

The SpreadsheetControl.CellValueChanged event is raised for each cell whose value has been edited via the cell editor and committed (even if a new cell value is the same as the value before editing).

ChangedOnly

The SpreadsheetControl.CellValueChanged event is raised for each cell whose value has been changed via the cell editor and committed. If a new cell value is the same as the value before editing, the event does not occur.

#Related API Members

The following properties accept/return CellEditorCommitMode values:

Library Related API Members
WPF Controls SpreadsheetBehaviorOptions.CellEditorCommitMode
Office File API SpreadsheetCellEditorBehaviorOptions.CommitMode

#Remarks

The CellEditorCommitMode enumeration values are used by the SpreadsheetCellEditorBehaviorOptions.CommitMode and property accessible via SpreadsheetControl.Options.Behavior.CellEditor.CommitMode notation for WinForms Spreadsheet control and by the SpreadsheetBehaviorOptions.CellEditorCommitMode property for WPF Spreadsheet control.

See Also