/// <summary> /// Should a mouse down at the provided point cause the currently stacked context menu to become current. /// </summary> /// <param name="pt">Client coordinates point.</param> /// <returns>True to become current; otherwise false.</returns> public bool DoesStackedClientMouseDownBecomeCurrent(Point pt) { // If the item is enabled and the mouse is over the sub menu area, then return false // because we do not want pressed it to cause the context menu to become current. This // cause the showing sub menu to be dismissed. if (_menuItem.ItemEnabled) { return(!_menuItem.PointInSubMenu(pt)); } return(true); }