If I have 3 floating windows open, how do I get the open with the highest Z index? I do not want the one that was tagged as last activated by xamDockManager. I want the top most floating window or the one with highest z-index.
Ideas?
TIA.
ToolWindow.GetToolWindows works for this purpose, thanks.
Well if you only have a single XamDockManager then you can probably use the ToolWindow.GetToolWindows static method passing in that XamDockManager. That will return the ToolWindows for that XDM in zindex order. Outside of that you would probably need to windows apis like EnumThreadWindows and EnumChildWindows.