Table of Contents

Method OpenAndSelect

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

OpenAndSelect(MenuItem, bool)

Opens the menu hierarchy so that item is visible and focused.

public bool OpenAndSelect(MenuItem item, bool ensureVisible = true)

Parameters

item MenuItem
ensureVisible bool

Returns

bool

true if item was activated; otherwise false.