The project's dirty state indicates changes made to the project have not yet been saved. For example, after adding a map to the project, IsDirty will return True and the Save button is enabled.
//The project's dirty state indicates changes made to the project have not yet been saved. bool isProjectDirty = Project.Current.IsDirty;
Target Platforms: Windows 11, Windows 10