Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
285
Setting 'AllowDockLeft = false' in a DockableControlPane doesn't work
posted

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?

Parents
No Data
Reply Children
No Data