Hi,
I have contentpanes in a tabgrouppane and I want to disable floating at all on some of the them. I don't want the user to be able to double click on them, drag them outside of the tabgrouppane or right click and select float. I tried with AllowDockingFloating property but with no success. How can I achieve this behaviour?
Regards
Hello ppopov,
The XamDockManager was created by following the functionality of VS 2010. The thing that you are asking about is beyond what the control can do now out of the box. If you insist on that behavior it should be submitted as feature request!
Regards,
Nikola.
Thanks for your quick answer. Your solutions works, but my question wasn't accurate - I want the user to be able to drag the content pane, but only to dock it somewhere, not to leave it floating.
XamDockManager has PaneFloating and PaneFloated events, to which you could attach and set e.Cancel = True for those Content Panes that you would like to not become floating. Hope that helps!