I have a Dockable window control that I want to have several properties associated with it. Specifically a data source. I currently have to hard code an Image service or a file GDB at a specific path. I want to create a option that allows a user to choose between an Image Service via URL or a file GDB given a local .gdb file.
I found Property Page, and figured it would be my best best, but I feel like I'm missing something in the documentation that describes how to actually use it.
I've reviewed Creating property pages, and How to create property pages and property sheets and I've been able to open a property page with my custom property sheet, but now I dont understand how I'm supposed to 'use' the property page.
How do I properly utilize the PropertyPage to update custom properties in a custom Desktop Add in, or what else should I be using to accomplish this in ArcObjects?
I've considered having the options to change the data source on the Dockable window itself, but it already has a lot of controls and dont want to add confusion.