5

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

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

At the moment 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?

Brian Tompsett - 汤莱恩
  • 5,753
  • 72
  • 57
  • 129
Marco
  • 543
  • 3
  • 9
  • 21

1 Answers1

6

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
  • 2,554
  • 4
  • 26
  • 29