In the DockingManager, you can hide the selected context menu according to the requirement. The following screenshot shows the default context menu of the document child.
Figure 1: Default context menu
For instance, to show only the close context menu of the document child in the DockingManager, you need to hide all the other default context menu items. This can be done by using the Boolean property of the DockingManager that has a naming convention, Show + Nameof theContextMenuItem. By disabling this property, you can hide the unnecessary context menu items.
The following code example demonstrates the same.
The following screenshot shows only the close context menu item in the document child of the DockingManager.
Figure 2: Close context menu item in the document child
This page will automatically be redirected to the sign-in page in 10 seconds.