When you have one tab and undocking/docking it by drag and drop - ActivePaneChanged event if fired. But when you do it by selecting "Dockable"/"Tabbed Document" from the context menu this event isn't fired. Sample project attached.
Hello,
I have logged this with development under ID: 173093 and I have also created a support ticket on your behalf: CAS-138242-Y4Z2Z0 and have linked the development issue to it, so that you can get automatically updated, when a Service Release containing the fix is available for download. You can get the new version from our website’s “My IG”, “My Keys & Downloads” tags: https://ko.infragistics.com/Membership/Default.aspx?panel=Downloads#Downloads
You can also monitor the support ticket’s progress through the “My Support Activity” tag: https://ko.infragistics.com/Membership/MySupport.aspx
Is there any workaround for that? Unfortunately, I won't be able to use service packs in the nearest future and need to wait until 14.2 will be bought and approved to use in my company.
Hello Anton,
Our developers said that the ActivePaneChanged event is specifically a notification when the ActivePane property has changed. The ActivePane is associated with the element with keyboard focus. When the user do a drag operation, focus is temporarily shifted out of the control, but when a discrete operation is done, like toggled the docked state or selecting Dockable/Tabbed Document/etc., then focus didn't change and so the ActivePaneChanged does need to be fired. Also I can suggest you see this forum thread:
http://ko.infragistics.com/community/forums/p/32103/175463.aspx#175463
where Andrew described how to determine whether pane is floating or not.
I am looking forward to hear from our developers to tell if there is a workaround or there is an issue in the internal code. As soon as I they determine I will update you.
Thank you for your patience.