SpreadsheetCellEditorBehaviorOptions.CommitMode Property
Gets or sets a mode that specifies 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
[DefaultValue(CellEditorCommitMode.Auto)]
public CellEditorCommitMode CommitMode { get; set; }
#Property Value
Type | Default | Description |
---|---|---|
Cell |
Auto | A Cell |
Available values:
Name | Description |
---|---|
Auto | Defined automatically when the Spreadsheet |
Always | The Spreadsheet |
Changed |
The Spreadsheet |
#Property Paths
You can access this nested property as listed below:
Object Type | Path to Commit |
---|---|
Spreadsheet |
|
#Remarks
To access the CommitMode property, use the SpreadsheetControl.Options.Behavior.CellEditor.CommitMode notation. This property allows you to specify when the SpreadsheetControl.CellValueChanged event should be raised after a cell value has been edited via the cell editor and committed: each time (CellEditorCommitMode.Always) or only if a cell value has been changed (CellEditorCommitMode.ChangedOnly).