Skip to main content

SpreadsheetControlOptions.RaiseEventsOnModificationsViaAPI Property

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.v24.2.dll

NuGet Package: DevExpress.Wpf.Spreadsheet

Declaration

public bool RaiseEventsOnModificationsViaAPI { get; set; }

Property Value

Type Description
Boolean

true, to raise events for changes made in code; otherwise, false.

Property Paths

You can access this nested property as listed below:

Object Type Path to RaiseEventsOnModificationsViaAPI
SpreadsheetControl
.Options .RaiseEventsOnModificationsViaAPI

Remarks

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.

See Also