I have an application that requires a section be a dock for three tabs. To create this I made a user control and then added that control with the three control panes to my main form. This works like I want. However there are a couple of things that I would like to change.
1. The user can un-dock the entire thing from the form (UltraDockManager and all three tabs). Is there a way to prevent this so that only the tabs can be moved?
2. The Caption and Tab are redundant when the tab is docked. How would I hide the caption when the tab is docked, so it only appears when it is floating.
Thanks
Hi,
Have you been able to resolve your issue ? Please keep me in touch.
Regards
It is possible and I suggest you to use some of the properties below:
[code]
DockableGroupPane
dgpLeft = new DockableGroupPane();
DockAreaPane dapLeft = new DockAreaPane(DockedLocation.DockedLeft);
dgpLeft.DockAreaPane.Settings.AllowFloating = Infragistics.Win.
DefaultableBoolean.False;
OR
dapLeft.Settings.AllowFloating = Infragistics.Win.
dapLeft.Panes[0].Settings.AllowFloating = Infragistics.Win.
[\code]
Please if you have any questions do not hesitate to ask me
I may have posted one of those question too soon. I just added the following that I think will take care of Q2. I used the DockChange event to manage the pane's Caption. I suspect that I might be able to disable the un-docking of the main control as well.