In some cases, controls on the form move to the TopLeft direction when you zoom the Form because the control's Anchor property value is TopLeft.
To keep the control’s position in the center of the form, set the C1Zoom.InnerPanelLayoutMode property to MiddleCenter, like the following:
Visual Basic |
Copy Code
|
---|---|
C1Zoom1.InnerPanelLayoutMode = InnerPanelLayoutMode.MiddleCenter |
C# |
Copy Code
|
---|---|
c1Zoom1.InnerPanelLayoutMode = InnerPanelLayoutMode.MiddleCenter; |