Method OpenAndSelect
OpenAndSelect(bool)
Ensures this MenuItem is visible and focused by opening every ancestor menu (including the root MenuBar / PopoverMenu if needed) and selecting this item.
public bool OpenAndSelect(bool ensureVisible = true)
Parameters
ensureVisibleboolIf true (default), marks the containing menus for redraw so the item is brought into view when possible.