Articles in this section
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.

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
Access denied
Access denied