wpf-devexpress-dot-xpf-dot-spreadsheet-dot-spreadsheetcontroloptions-1f650051.md
Gets or sets whether to raise certain events when changes are made in code. These events usually fire only when the document is modified via the control’s UI. This is a dependency property.
Namespace : DevExpress.Xpf.Spreadsheet
Assembly : DevExpress.Xpf.Spreadsheet.v25.2.dll
NuGet Package : DevExpress.Wpf.Spreadsheet
public bool RaiseEventsOnModificationsViaAPI { get; set; }
Public Property RaiseEventsOnModificationsViaAPI As Boolean
| Type | Description |
|---|---|
| Boolean |
true, to raise events for changes made in code; otherwise, false.
|
You can access this nested property as listed below:
| Object Type | Path to RaiseEventsOnModificationsViaAPI |
|---|---|
| SpreadsheetControl |
.Options .RaiseEventsOnModificationsViaAPI
|
The following events usually fire only for changes performed via the control’s UI. If the RaiseEventsOnModificationsViaAPI property is true , these events are raised by changes performed via the API and control’s UI.
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the RaiseEventsOnModificationsViaAPI property.
Note
The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.
<dxsps:SpreadsheetControl.Options>
<dxsps:SpreadsheetControlOptions RaiseEventsOnModificationsViaAPI="True"/>
</dxsps:SpreadsheetControl.Options>
See Also
SpreadsheetControlOptions Class