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

How to display separator in CustomContextMenu of DockingManager

Platform: WPF |
Control: DockingManager |
Published Date: December 14, 2017 |
Last Revised Date: December 14, 2017


As per current implementation of DockingManager’s CustomContextMenu there is no direct support to add separator as like in Menu control. But this can be achieved by customizing the MenuItem style of the CustomContextMenu with help of IsSeparator property of SeparatorExt class. If the attached property "IsSeparator" is true, separator will be displayed instead of header. Below code snippets are demonstrate the same,












2X faster development

The ultimate WPF UI toolkit to boost your development speed.
You must log in to leave a comment

Please sign in to access our KB

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

Up arrow icon

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