Articles in this section
Category / Section

How to collapse the context menu button of docked windows in WPF DockingManager?

1 min read

The context menu button in a docked window can be collapsed by using the IsContextMenuButtonVisible property of DockingManager

XAML

 
<syncfusion:DockingManager x:Name="SyncDockingManager" IsContextMenuButtonVisible="False">
 
<ContentControl x:Name="SolutionExplorer" syncfusion:DockingManager.Header="Solution Explorer" />
 
<ContentControl x:Name="ToolBox" syncfusion:DockingManager.Header="Toolbox" />
 
<ContentControl x:Name="Properties" syncfusion:DockingManager.Header="Properties" />
 
<ContentControl x:Name="Properties1" syncfusion:DockingManager.Header="Output" />
 
<ContentControl x:Name="StartPage" syncfusion:DockingManager.Header="Start Page" />
 
</syncfusion:DockingManager>
 
 

C#

dockingmanager.IsContextMenuButtonVisible = false;

 

ContextMenuButton disappeared in docked windows

Figure 1: Context Menu button

 

View Sample in GitHub

 

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