BrightIdeasSoftware.ObjectListView.ShowHeaderRightClickMenu C# (CSharp) Method

ShowHeaderRightClickMenu() protected method

Show a menu that is appropriate when the given column header is clicked.
protected ShowHeaderRightClickMenu ( int columnIndex, Point pt ) : bool
columnIndex int The index of the header that was clicked. This /// can be -1, indicating that the header was clicked outside of a column
pt Point Where should the menu be shown
return bool
        protected virtual bool ShowHeaderRightClickMenu(int columnIndex, Point pt)
        {
            ToolStripDropDown m = this.MakeHeaderRightClickMenu(columnIndex);
            if (m.Items.Count > 0) {
                m.Show(pt);
                return true;
            }

            return false;
        }
ObjectListView