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. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

TabItem -- possible to have menu pop up next to TabItem?

Thread ID:





89037 Aug 17,2009 10:52 AM UTC Aug 18,2009 01:47 PM UTC WPF 2
Tags: Tools
Christina Robin
Asked On August 17, 2009 10:52 AM UTC

I was wondering if it's possible to have a small menu pop up right next to the new tab icon as seen in the attached pic. The idea here is that I want to offer the user a fast way to choose what kind of browser he wants to open up, rather than a generic new browser window.
Any help/details you can provide to help me to achieve this look would be greatly appreciated.


Christina Robin
Replied On August 18, 2009 08:28 AM UTC

I figured out how to get the desired effect. I dynamically created a ContextMenu with menuItems which appears on mouse enter of the TabItem control.

Nikhil A [Syncfusion]
Replied On August 18, 2009 01:47 PM UTC

Hi Christina,

Yes sure it can be done in the MouseEnter event of the TabItem as rightly pointed by you. But as we usually display context menus on right clicking on the elements, using MouseRightButtonUp event of the TabItem may also be considered(which is the generic way).

Please let us know if there are any other concerns.

WPF Team.


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