Hello Infragistics Team,
I am using ultraTabControl and want to popout (in separate window) and popin(back to parent window when clicked on close button of separate window) on run-time.
How to this?
Please help me out.
Regards,
Parminder
Hello Parminder,
Thank you for contacting.I need more information to understand your requirement. You want to be able to pop a tab out of a UltraTabControl and have it appear in your own window.... This can be done by simply putting all the controls on the UltraTab in your own container and reparenting the container to a new Form. When it gets popped out is not clear to me.
The container can be parented back to the tab when they close it.
The behavior you described can be better with the UltraDockManager not the UltraTabControl. https://www.infragistics.com/help/winforms/windockmanager-understanding-windockmanager
The UltraDockManager can have control panes grouped together at Tabs, and you have the ability to drag and float individual tabs or the whole tab pane. Additionally the "put back on close" functionality could be implemented in app code as there is a property that specifies is a pane is hidden or disposed when the close button is clicked. Just need to dock the pane back when the close is pressed.
Let me know if have any question.
OK,
UltraDockManager, while using it in winform for UltraTabControl , Panel , it looks like window within window ( basically the titlebar for every control we use ultraDockManager).
is there any way, we can use this dockManager in winform and the controls associated with it looks normal as they are , like, panel like panel, ultraTabControl like ultraTabControl instead of panel with titlebar , ultraTabControl with titlebar.
The DockManager creates draggable, dockable, windows for controls. It's designer to give your users an experience like Visual Studio with various tool windows. If you just want arrange controls within a container and not have a title bar or window chrome around them, then DockManager probably isn't the way to go. There are all kinds of other ways to arrange controls. All controls already have built-in support for Docking and Anchoring. You can use the Splitter, or UltraSplitter to allow users to resize controls. And then there are containers like the FlowLayoutPanel and TableLayoutPanel, or the UltraGridBagLayoutPanel. So depending on what you want, there are a lot of options by which you can arrange controls.