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
close icon

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

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.





tabItem_53f3d1f5.gif

2 Replies

CR Christina Robin 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.


NA Nikhil A Syncfusion Team 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.

Regards,
Nikhil
WPF Team.


Loader.
Live Chat Icon For mobile
Up arrow icon