Back to Devexpress

SpreadsheetBehaviorOptions.CellEditorCommitMode Property

wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetbehavioroptions-f07002b4.md

latest2.8 KB
Original Source

SpreadsheetBehaviorOptions.CellEditorCommitMode 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. This is a dependency property.

Namespace : DevExpress.Xpf.Spreadsheet

Assembly : DevExpress.Xpf.Spreadsheet.v25.2.dll

NuGet Package : DevExpress.Wpf.Spreadsheet

Declaration

csharp
public CellEditorCommitMode CellEditorCommitMode { get; set; }
vb
Public Property CellEditorCommitMode As CellEditorCommitMode

Property Value

TypeDescription
CellEditorCommitMode

A CellEditorCommitMode enumeration value.

|

Available values:

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.

|

Property Paths

You can access this nested property as listed below:

Object TypePath to CellEditorCommitMode
SpreadsheetControlOptions

.Behavior .CellEditorCommitMode

|

See Also

CellValueChanged

SpreadsheetBehaviorOptions Class

SpreadsheetBehaviorOptions Members

DevExpress.Xpf.Spreadsheet Namespace