I have a tab control which I docked in my windows form via the ultraDockManager. When I drag the window to undock it from the main form, is there a way I can maximize that undocked window to fill my entire second screen or is this simply not a feature of the dock manager? I do have maximize and minimize buttons visible in the upper right corner of the undocked window but I think those are for maximizing and minimizing within the panel itself, not to maximize the entire docked window. Any help would be very much appreciated.
Thanks!
Hello,
I am currently researching this for you. I am going to build a sample to demonstrate how you can do this. I will update you on my progress with the sample at the end of the day Monday.
Hello, You can add the following code to the AfterToggleDockState and AfterDockChange event handlers for the UltraDockManager:
if (e.Pane.DockedState == Infragistics.Win.UltraWinDock.DockedState.Floating) (e.Pane as DockableControlPane).Control.FindForm().WindowState = FormWindowState.Maximized;