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!
simply do this:
ultraDockManager.PaneFromControl(YourControl).Visible=false;
Form popUpForm=new Form();
YourControl.Parent=popUpForm;
YourControl.Dock=Dock.Fill;
popUpForm.WindowState=WindowState.Maximized;
popUpForm.Show();