SideDocking Property
Description
Enables or disables inside client edge "Visio Style" side docking.
Property Type
Read-write property
Syntax (Visual Basic)
Public Property SideDocking() As Boolean
Remarks
SideDocking enables or disables "Visio" style client edge docking. Side docking can only occur to the inside edges of the client area. When SideDocking is enabled, any pane that is dragged to an inside edge of the client area will attempt to "snap" to that inside edge of the client. The pane will "snap" to the inside edge of the client and will leave a margin equal to that specified by SetSideDockingMargin.
SideDocking does not affect normal docking of panes. You will need to drag the pane past the side docking margin for normal docking algorithms to be used.
The picture below shows panes side docked to all edges of the client. The side docking margin in the picture is 23 pixels.

Use DockSidePane to dock panes to the inside edge of the client using code.
See Also
Copyright (c) 1998-2024 Codejock Technologies. All rights reserved.