Method HideItem
HideItem(IMenuBarEntry?)
Hides the menu associated with the specified menu bar entry and updates the focus state.
public bool HideItem(IMenuBarEntry? activeItem)
Parameters
activeItemIMenuBarEntryThe IMenuBarEntry whose menu should be hidden.