I would like to open 2 control panes in a tab group with initial state of floating. I would not like any of the panes within the group to be dragged out of the group and floated by itself. How can I force a pane to always be part of the group it is opened in? I set AllowFloating = False this that this would do it but it does not. I am not sure since its initial state is floating that it makes sence to set AllowFloating to false.
Thanks.
I believe you can set AllowDragging to False on these panes to prevent them from being ungrouped by the user.
You are right, setting AllowDragging to false prevents a user from pulling a pane out of the group. But, I also prevents me from dragging the tab group around the screen. I would like to allow the user to move the tab group around the screen but not be able to separate the panes in that group.
Im thinking that maybe I went about this the wrong way and should build a user control with a tab control on it. Then I can dock the usercontrol as a single item...