Is it possible to get id/name of selected docking window?
Let’s say I have similar layout as in your demo “Visual Studio showcase” and I want to display some menu above the docking layout with context depending on focused docking window. Is there an event when docking window gets focus?
The Smart.DockingLayout doesn’t have a specific event for item focusing. However there are several solutions. One of which is to use the native document.activeElement to get the currently focused element on the page. You can combine that with a click event and you will have exactly what you need. Here’s how to do it: