Category / Section
How to disable the editing of the Tab header in TabControlAdv during runtime?
1 min read
In TabControlAdv, the EnableLabelEdit property can be used to prevent the TabItem's Header edit option when you double-click it.
XAML
<syncfusion:TabControlAdv x:Name="tabcontrol" EnableLabelEdit="False"> <syncfusion:TabItemAdv Header="TabItem1" /> <syncfusion:TabItemAdv Header="TabItem2" /> <syncfusion:TabItemAdv Header="TabItem3" /> <syncfusion:TabItemAdv Header="TabItem4" /> </syncfusion:TabControlAdv>
C#
tabcontrol.EnableLabelEdit = false;