SpreadsheetControlOptions.RaiseEventsOnModificationsViaAPI Property
Gets or sets whether to raise certain events when changes are made via an API. Normally, these events are fired only when the document is modified by using the control UI. This is a dependency property.
Namespace: DevExpress.Xpf.Spreadsheet
Assembly: DevExpress.Xpf.Spreadsheet.v18.2.dll
Declaration
Property Value
Type | Description |
---|---|
Boolean | true, to raise events for changes made via API; otherwise, false. |
Property Paths
You can access this nested property as listed below:
Object Type | Path to RaiseEventsOnModificationsViaAPI |
---|---|
SpreadsheetControl |
|
Remarks
The following events are normally raised only for changes performed via the control’s UI. If the RaiseEventsOnModificationsViaAPI is set to true, these events are triggered by changes performed via an API and the control’s UI.
- SpreadsheetControl.CellValueChanged
- SpreadsheetControl.ActiveSheetChanged
- SpreadsheetControl.ActiveSheetChanging
- SpreadsheetControl.ColumnsInserted
- SpreadsheetControl.ColumnsRemoved
- SpreadsheetControl.RowsInserted
- SpreadsheetControl.RowsRemoved
- SpreadsheetControl.SelectionChanged
- SpreadsheetControl.SheetInserted
- SpreadsheetControl.SheetRemoved
- SpreadsheetControl.SheetRenamed
- SpreadsheetControl.SheetRenaming
- SpreadsheetControl.ShapeInserted
- SpreadsheetControl.ShapeRemoving
- SpreadsheetControl.ShapeRemoved
Related GitHub Examples
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.