is it possible for an UltraDockManager to maximize floating control in second display? Just like VS2010 does.
Hello,
Could you please try that:
if (e.Pane.DockedState == Infragistics.Win.UltraWinDock.DockedState.Floating) (e.Pane as DockableControlPane).Control.FindForm().WindowState = FormWindowState.Maximized;
In AfterToggleDockState and/or AfterDockChange events.
Please review my sample.
Please feel free to let me know if a question about our toolset comes up on your mind.
It throws a NullReferenceException. So I simply write:
if (e.Pane.DockedState == Infragistics.Win.UltraWinDock.DockedState.Floating)
this.WindowState=FormWindowState.Maximized;
But this is not what I expected. I'm not maxmizing the form , but the floating control in the second display.
And when a control is floating, the maximize button is disabled, how can I enable it?