Skip to main content

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.1.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