Category / Section
How to show or hide the docking window border and host form client border in WinForms Docking Manager?
1 min read
Border setting
Docking manager has the property PaintBorders to show or hide the border of the docking window and the property HostFormClientBorder to show or hide the Border of the Client Host form.
C#
this.dockingManager1.PaintBorders = !this.dockingManager1.PaintBorders; this.dockingManager1.HostFormClientBorder = !this.dockingManager1.HostFormClientBorder;
VB
Me.dockingManager1.PaintBorders=Not Me.dockingManager1.PaintBorders Me.dockingManager1.HostFormClientBorder=Not Me.dockingManager1.HostFormClientBorder
UG document link: https://help.syncfusion.com/windowsforms/dockingmanager/appearance#customize-border