IObjectSpace.ModifiedChanged Event
Occurs when the current Object Space’s IObjectSpace.IsModified state is changed.
Namespace: DevExpress.ExpressApp
Assembly: DevExpress.ExpressApp.v20.2.dll
NuGet Package: DevExpress.ExpressApp
Declaration
Event Data
The ModifiedChanged event's data class is EventArgs.
Remarks
If you implement the IObjectSpace interface in the BaseObjectSpace class’ descendant, you don’t have to raise the ModifiedChanged event. It is raised in the protected BaseObjectSpace.SetIsModified method after the BaseObjectSpace.IsModified property has changed.
Handle this event to execute custom code when the Object Space’s Modified state is changed. However, it is already handled internally to change Actions states in dependence of the IObjectSpace.IsModified property value.
Related GitHub Examples
The following code snippet (auto-collected from DevExpress Examples) contains a reference to the ModifiedChanged event.
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.