Table of Contents

Property Root

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

Root

Gets or sets the Menu that is the root of the popover menu hierarchy.

public Menu? Root { get; set; }

Property Value

Menu

Remarks

The root menu contains the top-level menu items. Setting this property updates key bindings and event subscriptions for all menus in the hierarchy.

When set, all submenus are configured with appropriate event handlers for selection and acceptance.