Hallo, I've got some trouble with the windockmanager.
I created a 'DockAreaPane' and I wanted to allow to dock controls at the left side by setting this:
dapLeft = new DockAreaPane(DockedLocation.DockedLeft, dapLeftKey); dapLeft.ChildPaneStyle = ChildPaneStyle.VerticalSplit;
dapLeft.Settings.AllowDockLeft = Infragistics.Win.DefaultableBoolean.True; dapLeft.Settings.AllowDockRight = Infragistics.Win.DefaultableBoolean.False; dapLeft.Settings.AllowDockTop = Infragistics.Win.DefaultableBoolean.False; dapLeft.Settings.AllowDockBottom = Infragistics.Win.DefaultableBoolean.False;
After this I added three 'DockableControlPane' and wanted that it should be not possible to dock controls into this control by setting every 'DockableControlPane' dock to false:
dcp1.Settings.AllowDockLeft = Infragistics.Win.DefaultableBoolean.False; dcp1.Settings.AllowDockRight = Infragistics.Win.DefaultableBoolean.False; dcp1.Settings.AllowDockBottom = Infragistics.Win.DefaultableBoolean.False; dcp1.Settings.AllowDockTop = Infragistics.Win.DefaultableBoolean.False;In this example they are numbered from dcp1 to dcp3.
Now what's happened. If I drag a dcpx DockableControlPane than it is not problem to dock into the other dcpx DockablePane controls.
What did I wrong?
Hello siedler,
Could you please review the sample attached to this post and see if it meets your requirements.
Please feel free to let me know if I misunderstood you or if you have any other questions.