In Visual Studio 2017 it is possible to work in a mode ‘Folder View’. This is the mode that runs when opening folder (File – Open – Folder...). You can also switch to it using the 'Solution Explorer' (switching from a 'Solution View' to 'Folder View').
Is it possible to programmatically determine (and if so, then how) what mode is enabled at the moment?
I saw the IVsSolutionEvents7
interface, which contains methods that are called, for example, when opening or closing a folder (File – Open – Folder / Close Folder), but have not found anything that would help in addressing the problem described above.
Thanks in advance for your help.