How can I persist my custom DockPane contents to the current Project?

403
1
04-26-2018 05:56 AM
AnthonyMikelson
New Contributor III

I have a treeview that I can build inside of a project and I would like it to be saved with the current ArcGIS project, so when I open the project and activate the dockpane it re-hydrates the saved contents.  Is this ability available and if so what objects do I need to use or are their some examples I can reference?

Thank you,

Tony

0 Kudos
1 Reply
UmaHarano
Esri Regular Contributor

Hi,

Custom project settings can be saved within a Pro project and restored when you reopen the project.  Here is a guide that can help you with how you can create your own custom project settings using the Pro SDK.

ProGuide: Custom Project settings

There is a sample that explains the complete workflow explained in this guide: BackStage_PropertyPage

Thanks

Uma