We have one screen wehre we add modules by tabs into the Document manager that is the parent host on the screen. It makes no sense to allow these to float or be dragged around I have tried
Infragistics.Controls.Layouts.DocumentContentHost Chost = HostControl.FindName("MainShellContentHost") as DocumentContentHost;// (Infragistics.Controls.Layouts.DocumentContentHost)this.HostControl.Content; TabGroupPane tgp = (TabGroupPane)Chost.Panes[0]; tgp.Panes.Add(tabItem); tabItem.IsActivePane = true; tabItem.AllowDocking = false;
but this has no effect
any ideas on how to lock this down
Hello,
You can handle the PaneFloating event of the XamDockManager and set e.Cancel = true for Panes you do not want to drag around.
Please let me know if you have any questions.
Sincerely,ValerieDeveloper Support Engineer Infragisticswww.infragistics.com/support
Perfect
thanks Valerie ! :)