Articles in this section
Category / Section

How to rename label in tab pages in WinForms TabControlAdv?

1 min 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

 

Before renaming TabPageAdv in WinForms TabControlAdv

Figure 1: Before renaming TabPageAdv in TabControlAdv

After renaming TabPageAdv in WinForms TabControlAdv

Figure 2: After renaming TabPageAdv in TabControlAdv

LabelEdit mode disabled in WinForms TabControlAfv

Figure 3: LabelEdit mode disabled in TabControlAdv.

Samples:

C#: TabControlAdv_Rename_C#

VB: TabControlAdv_Rename_VB

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

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