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
40
I would like to fix a panel on the top of the form and allow users to customize the other remaining forms only.
posted

I'm Use Infragistics4.Win.Misc.v13.2 (13.2.20132.2098)

I'm trying to use DockManager for users to customize the positions of panels on Winform.

My question is that, for example, if there are three panels on a form,
I would like to fix a panel on the top of the form and allow users to customize the other remaining forms only. 
I managed to make a sample source code, but I would like to know if there is any better way to make it.

Here's the detail of the sample code that I have made.
The docking function should not be allowed on the left and right side of the top panel.
First I tried to use BeforeDockChange event but couldn’t get any clue. 
So then I tried AfterDockChange event, and it seemed to work.  However,
I think the logic should be in BeforeDockChange event for better performance.

Thanks in advance for your cooperation.

Infragistics_DockManager_Test.zip