Articles in this section
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

Did you find this information helpful?
Yes
No
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied