Category / Section
How to hide the Tabbed ContextMenu items in TabControlAdv?
1 min read
In TabControlAdv, you can hide the TabList context menu button by using the ShowTabListContextMenu property.
XAML
<syncfusion:TabControlAdv x:Name="tabcontrol" ShowTabListContextMenu="False"> <syncfusion:TabItemAdv x:Name="child1" Header="Tabitem1"/> <syncfusion:TabItemAdv x:Name="child2" Header="Tabitem2"/> <syncfusion:TabItemAdv x:Name="child3" Header="Tabitem3"/> <syncfusion:TabItemAdv x:Name="child4" Header="Tabitem4"/> </syncfusion:TabControlAdv>
C#
tabcontrol.ShowTabListContextMenu = false;
The following screenshot displays the TabList contextmenu of TabControlAdv.
Figure 1: TabList contextmenu of TabControlAdv
The following screenshot illustrates the output of hidden TabList contextmenu button.
Figure 2: TabList contextmenu button hidden