Category / Section
How to add padding to the WinForms TabControlAdv programmatically?
1 min read
Padding
You can set the padding effect to the TabControlAdv by using the property, Padding.
C#
//Sets padding to the TabControlAdv. this.tabControlAdv1.Padding = new Point(12, 10);
VB
'Sets padding to the TabControlAdv. Me.tabControlAdv1.Padding = New Point(12, 10)
Note:
The specified value of X and Y adds the padding effect to the TabControlAdv.
Figure 1: Padding is specified width and height respectively 5, 5
Figure 2: Padding is specified width and height respectively 15, 15
Samples:
Reference link: https://help.syncfusion.com/windowsforms/tabcontrol/customization#padding