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

 

Padding is specified width and height as 5,5

Figure 1: Padding is specified width and height respectively 5, 5

Padding is specified width and height as 15,15

Figure 2: Padding is specified width and height respectively 15, 15

Samples:

C#: TabControlAdv_Padding_C#

VB: TabControlAdv_Padding_VB

Reference link: https://help.syncfusion.com/windowsforms/tabcontrol/customization#padding

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