views:

510

answers:

1

Hi,

I'm using the "WeifenLuo.WinFormsUI.Docking" control.

I need to show a context menu by clicking on a document tab.

Atm I just can show a context menu at the document itself or for the menustrip - but I didn't found a way to bind a menu to the tab.

Does anyone have an idea?

+5  A: 

There exists a property called TapPageContextMenu.

To bind a context menu to tab register on top use:

DockContent.TabPageContextMenu

Is this what you were looking for?

Hauke