ObjectListView DataTreeListView context menu not showing

时间:2017-06-19 13:59:07

标签: c# objectlistview

I have a problem showing a context menu on a treeviewlist item on right click. The context is only showing when the FullRowSelect == false; Nothing happens when I set this to true BUT the cell right click event is fired. The context menu strip property on the DataTreeListView is linked to 'cmenuOpdrachten' The code i use:

  private void grdOrders_CellRightClick(object sender, CellRightClickEventArgs e)
    {
        this.cmenuOpdrachten.Show(e.Location.X, e.Location.Y);
    }

What is it that I do wrong?

0 个答案:

没有答案