We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Docking Manager - Customize Context Menu For Document Tab (Close, Close All, etc )

Thread ID:





144143 Apr 22,2019 10:27 AM UTC Nov 16,2020 02:34 PM UTC UWP 5
Tags: SfDockingManager
Chan Edward
Asked On April 22, 2019 10:27 AM UTC

Hi, Syncfusion support:

The WPF's docking manager have following: https://www.syncfusion.com/kb/6944/how-to-add-the-custom-context-menu-items-for-tabitem-in-tabcontrolext

How does we customize the context menu of SfDockingManager in UWP?

I am attaching the Context Menu Screenshot's that I wished to customize.

Attachment: CloseAll_56d67201.7z

Jagadeesan Pichaimuthu [Syncfusion]
Replied On April 23, 2019 06:35 AM UTC

Hi Chan, 

Thanks for using Syncfusion product. 

You can able to customize the context menu in document tab by enable the ShowDocumentTabItemContextMenu property. Please refer the below documentation link for your reference. 

Let us know whether this helps also if you need any further assistance on this. 


Replied On November 12, 2020 04:56 PM UTC

how can one replace the context menus (any of them) with a custom control? the provided answer just shows how to enable/disable the default menu

this is a general question of
how can you override the default template for let's say the layout controls?

Magesh Sankar [Syncfusion]
Replied On November 13, 2020 11:37 AM UTC

Hi Wayne,  
Thank you for contacting Syncfusion Support.  
Query 1: 
how can one replace the context menus (any of them) with a custom control? 
Currently SfDockingManager doesn’t have direct support to achieve your requirement. 
Query 2: 
this is a general question of 
how can you override the default template for let's say the layout controls? 
Layout control is a collection of UI elements example : SfDockingmanager contains document tabcontrol and other UI elements, We will club the UI elements which are handled in Code behind, so we are not overriding the default of layout control, we just override the default template of UI elements exist in the layout control 
Magesh S 

Replied On November 13, 2020 06:14 PM UTC

thanks for getting back to me

drilling down on editing control templates i see you have this document https://help.syncfusion.com/wpf/blend-support for wpf

i tried this with a uwp project and there is indeed the option to edit a copy of control templates

perhaps this is really a documentation issue for your uwp offering with a nod towards non-designer developers doing screen mockups and trying to modify control templates

Elakkiya Muthukumarasamy [Syncfusion]
Replied On November 16, 2020 02:34 PM UTC

Hi Wayne, 
Sorry for the inconvenience. 
We have checked your reported query ”Need  to edit a copy of control templates in UWP controls” with our source and currently we don’t have support to achieve your requirement. 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon