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,
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!
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.