Category / Section
How to hide the tab item context menu in TabControlExt ?
1 min read
In TabControlExt, context menu visibilty of tabItem can be handled by using ShowTabItemContextMenu property. Refer to the following code example.
XAML
<syncfusion:TabControlExt x:Name="tabcontrol" ShowTabItemContextMenu="True"> <syncfusion:TabItemExt Header="Item1"/> <syncfusion:TabItemExt Header="Item2"/> <syncfusion:TabItemExt Header="Item3"/> </syncfusion:TabControlExt>
C#
tabcontrol.ShowTabItemContextMenu = false;
The following screenshot displays the ShowTabItemContextMenu to True by default in TabControlExt.
The following screenshot displays the ShowTabItemContextMenu to False in TabControlExt.