I created customs Options Page for my Vs 2015 isolated shell with the help of following link
https://msdn.microsoft.com/en-us/library/bb166195.aspx?f=255&MSPPError=-2147217396.
It is working fine as expected except in one corner case.When I delete all registry entries(related to my isolated shell app) and open Tools->options Page->mycustoms page,changing value and pressing cancel button make mycustoms page to persist with the changed value when i open again mycustoms page.It is expected as when we click cancel button it tries to load property values from registry but in our case registry is empty.
I thought of using boolean property.It wil be set to true once savesettingtostorage is called.So in loadsettingsfromstorage func,if boolean property value is false i will load mycustoms page with default values.
Is there any better way??Is it possible to know whether loadsettingfromstorage func does not loading empty values??