I am trying to do something very simple. I want to be able to read the entire contents of the currently shown properties window. I am not talking property pages, and I don't care about project properties, I am talking about the properties window shown when working with various designers, such as C# winforms and C++ dialog editors, and many other places. The properties window is used for many things.
I would like to be able to click a button located in a tool window from my extension, and then immediately read the contents of the properties window (which is after all a grid control). I am not interested in registering to know when it changes, or in trying to change or add values to the properties of the selected item.
So bare bones, click a button, display the name and value for each property in the currently focused property window. Thanks!