is it possible for an UltraDockManager to maximize floating control in second display? Just like VS2010 does.
Thanks, Boris! It helps.
Hello anakincn,
You could take a look at the following forum thread about this:
http://ko.infragistics.com/community/forums/t/68741.aspx.
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?
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.