Select to view content in your preferred language

How can one serialize the saving of addin state, reloaded upon addin open/reload

130
2
Jump to solution
2 weeks ago
Gurunara
Occasional Contributor

How can one serialize the saving of addin state, reloaded upon addin open/reload? Sample code..?

0 Kudos
1 Solution

Accepted Solutions
GKmieliauskas
Esri Regular Contributor

Hi,

Are you talking about either project or application settings?

If yes, you can check Backstage_PropertyPage sample.

 

View solution in original post

2 Replies
GKmieliauskas
Esri Regular Contributor

Hi,

Are you talking about either project or application settings?

If yes, you can check Backstage_PropertyPage sample.

 

Gurunara
Occasional Contributor

I believe this is what I am looking for:

"Modules can write out their own set of properties when a project is saved. Correspondingly, modules can read their own settings when a project is opened. The module contains two methods OnReadStateAsync and OnWriteStateAsync which should be overriden to read and write module specific settings or properties."

with my own custom options page, as well per AddIn module...

0 Kudos