Inspector attribute fields nullified when switching Edit Mode to OFF

12-05-2023 10:45 AM
New Contributor II

We are using ArcGIS.Desktop.Editing.Attributes.Inspector to display attributes with "LoadSchemaAsync", create viewmodel and view to be displayed with "CreateEmbeddableControl" and subscribe to "PropertyChanged" to listen for changes.

Problem comes when user changes FROM Edit mode to "Not Editing". 


What is happening, inspector immediately nullifies the fields...


Are we using this correctly? How can we avoid this?

Note: Listening to "IsEditingEnabled" event doesn't help as it arrives asynchronously at certain moment during this change, but even as such, is only a hotfix


0 Kudos
0 Replies