Category / Section
How to change the appearance of DockTabControl in WinForms Docking Manager?
2 mins read
Appearance of DockTabControl
The DockTabControl appearance can be changed using the following properties:
- DockTabFont - Used to Change the font of the dockd tab.
- DockTabHeight - Used to change the height of the dockd tab.
- DockTabAlignment - Used to change the aligmnent of the dockd tab.
Please refer the below code snippet which illustrates this:
C#
// Change the Font of DockTab this.dockingManager1.DockTabFont=new Font("Verdana",12); // Change the Height of DockTab this.dockingManager1.DockTabHeight = 20;
VB
' Change the Font of DockTab Me.DockingManager1.DockTabFont=new Font("Verdana",12) ' Change the Height oft DockTab Me.DockingManager1.DockTabHeight = 20
Sample: http://help.syncfusion.com/support/samples/kb/Tools.Windows/TDTabApps/TabApps.zip
UG document link: https://help.syncfusion.com/windowsforms/dockingmanager/appearance