Articles in this section
Category / Section

How to hide the tabitemcontextmenu of TDI window in DocumentContainer

1 min read

Context menu of TDI (Tabbed Document Interface) window can be disable by ShowTabItemContextMenu Property of DocumentContainer as false.

The same has been explained in the following code snippet:


//Code Explains How to disable the tabitemcontextmenu of TDI window for DocumentContainer
<Window x:Class="DocumentContainerSample.MainWindow"
xmlns:x="" xmlns:syncfusion=""
Title="MainWindow" Height="350" Width="525">
<syncfusion:DocumentContainer Name="Document"  Mode="TDI"  ShowTabItemContextMenu="False">
<ContentControl syncfusion:DocumentContainer.Header="Tab1">
<ContentControl syncfusion:DocumentContainer.Header="Tab2">
<ContentControl syncfusion:DocumentContainer.Header="Tab3">


//Code Explains How to disable the tabitemcontextmenu for TDI window
namespace DocumentContainerSample
public partial class MainWindow : Window
public MainWindow()
Document.ShowTabItemContextMenu =false;




Did you find this information helpful?
Help us improve this page
Please provide feedback or comments
Comments (0)
Please sign in to leave a comment
Access denied
Access denied