Table of Contents

Method Register

Namespace
Terminal.Gui.App
Assembly
Terminal.Gui.dll

Register(IPopover?)

Registers popover with the application. This enables the popover to receive keyboard events even when it is not active.

public IPopover? Register(IPopover? popover)

Parameters

popover IPopover

Returns

IPopover

popover, after it has been registered.

Remarks

When a popover is registered, the View instance lifetime is managed by the application. Call DeRegister(IPopover?) to manage the lifetime of the popover directly.