Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
3305
I don't want my Content panes to be able to float can I do this?
posted

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
Parents
No Data
Reply
  • 14517
    Verified Answer
    Offline posted

    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,
    Valerie
    Developer Support Engineer
    Infragistics
    www.infragistics.com/support

Children