Category / Section
How to rename label in tab pages in WinForms TabControlAdv?
4 mins read
Renaming tabitems
You can rename the TabPageAdv in WinForms TabControl by enabling the LabelEdit property in it.
C#
//To enable the LabelEdit behavior of TabControlAdv. this.tabControlAdv1.LabelEdit = true; //To disable the LabelEdit behavior of TabControlAdv this.tabControlAdv1.LabelEdit = false;
VB
'To enable the LabelEdit behavior of TabControlAdv. Me.tabControlAdv1.LabelEdit = True 'To disable the LabelEdit behavior of TabControlAdv Me.tabControlAdv1.LabelEdit = False
Figure 1: Before renaming TabPageAdv in TabControlAdv
Figure 2: After renaming TabPageAdv in TabControlAdv
Figure 3: LabelEdit mode disabled in TabControlAdv.
Samples:
Reference link: https://help.syncfusion.com/windowsforms/tabcontrol/customization