Hi,
we create a DockAreaPane like this:
DockAreaPane areaPane = new DockAreaPane(DockedLocation.DockedRight, "MyKey" );
areaPane.ChildPaneStyle = ChildPaneStyle.TabGroup;
theDockManager.DockAreas.Add(areaPane);
then we add a DockableControlPane like this:
DockableControlPane controlPane = new DockableControlPane();
controlPane.Control = theEditorControl;
areaPane.Panes.Add(controlPane);
finally we show the controlPane like this:
controlPane.Show();
controlPane.Activate();
However, the pane will *always* come up DockedTop!! I've traced in the debugger right up to the p.Show(), and the areaPane DockedLocation is still showing as DockedRight; once I let the program continue, the pane goes to DockedTop. The application at this point has a variety of the panes already docked, and possibly floating.
This used to work. We're on 8.1. Any ideas what we're doing wrong?
Many thanks in advance
Dave Dawkins
David,
Are you still encountering this issue? If so, what build of 8.1 are you using?
~Kim~
Hi Kim,
Yes, we're still encountering the issue: 8.1.20081.1000
Regards