Hi,
Previously we were using Infragistics4.Win.v14.2 version. The docking panel was hiding in version 14.2 but not in 15.2. It does not auto retract and seems to be pinned.
I have found a method 'UltraDockManager1.FlyIn()' to hide the pane. But I wanted to know Is there any property introduced in v15.2 to automatically hide it which I have missed to assign?
Is it working as designed?
Please find attached document and code sample.
Thanks,
PSR
Hello,
The dock pane will remain visible if it has focus. If an action is performed to take focus away from the pane then it will auto-hide. By default the Panes->Pinned property is set to true which will not make them auto-hide when focus is lost. In order to make a pane auto-hide you need to set its Pinned property to false.
The auto-hide behavior is same between 14.2 and 15.2. In order to resolve this issue, please verify in your 15.2 application if the pinned property is disabled and whether the pane is losing focus when expected to auto-hide.
Please let me know if I may be of further assistance.
Sincerely,Sahaja KokkalagaddaAssociate Software Developer
Thanks for the reply.
I have created sample projects where I'm not using Pinned property. I'm able to replicate it there.
I'm not able to attach all the samples.
Hello, I apologize for the delayed response. Unfortunately, I'm unable to get further details regarding posts made earlier in this thread. However, I can give further details regarding the current behavior.
The pane remaining in it's flyout state is the expected behavior in this scenario where a modal dialog is displayed from an unpinned pane. The UltraDockManager is modeled after the Visual Studio which leaves the unpinned panes visible. You can verify this behavior using the Team Explorer window which has the ability to pull up the "Connect to Team Foundation Server" dialog. How this is done, varies depending on the version of Visual Studio.
If you'd like the unpinned panes to be closed when you open a modal dialog, the UltraDockManager to hide the panes using it's FlyIn() method. Its a little trickier in the scenario demonstrated in your sample, as the UltraDockManager is on the main form, while the dialog is being displayed from within a UserControl. In this case, I'd suggest either passing the UltraDockManager into the UserControl (storing it in a WeakReference) so you can call FlyIn() on the button click, or exposing an event off of the UserControl that is triggered when the button is clicked, allowing the main form to subscribe to the event and call FlyIn().
Can we get solution for this issue?
Is this the designed behavior of the control?
Calling UltraDockManager.FlyIn() is not working properly. It is docking the panel and it is not auto-hiding on clicking in outside area.
Couldn't find any solution yet.