I have a UserControl
that has to read a string (an URL) from a file At Design Time. So I made a VSPackage
that exposes a Menu Command in the Visual Studio IDE; clicking on the command the user will be able to provide the URL via a WPF window and save this value to a file pressing Ok.
The UserControl
reads the file on the ControlLoaded
event and gets the URL property. Now...if the user changes the URL value again using the VSPackage
Window, how can I intercept this property change? Is there a way to access VSPackage
properties from UserControl
code?
Thanks