Back to Devexpress

CellEditorCommitMode Enum

officefileapi-devexpress-dot-xtraspreadsheet-56d02e83.md

latest2.8 KB
Original Source

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.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public enum CellEditorCommitMode
vb
Public Enum CellEditorCommitMode

Members

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

|

The following properties accept/return CellEditorCommitMode values:

LibraryRelated API Members
WPF ControlsSpreadsheetBehaviorOptions.CellEditorCommitMode
Office File APISpreadsheetCellEditorBehaviorOptions.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

DevExpress.XtraSpreadsheet Namespace