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.
After testing your sample and researching further I realized that dock pane not auto-hiding when focus is shifted to modal form is the expected behavior of the pane. Like you mentioned before in order to work around this issue please call UltraDockManager.FlyIn method.
In 15.2 and later versions, the pane auto-hiding behavior is fixed as part of some other feature developer work and there is no new property added to auto-hide it.
Please let me know if you have any questions.
Hello Sahaja,
As you said that this issue has been fixed in 15.2 and later versions, we have upgraded to Infragistics 17.1.
But I'm getting same issue in 17.1 also.
PFA sample project using 17.1 version.
Please let me know if i'm missing something.
Thanks.
Can someone please help with this issue?
I want to know if this issue is fixed in the latest release. If yes then why the sample project attached in previous reply is not working properly. If not then will it be fixed and when can it be fixed.
Can we get solution for this issue?
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().