Table of Contents

Method DeRegister

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

DeRegister(IPopoverView?)

De-registers popover with the application. Use this to remove the popover and it's keyboard bindings from the application.

public bool DeRegister(IPopoverView? popover)

Parameters

popover IPopoverView

Returns

bool

Remarks

When a popover is registered, the View instance lifetime is managed by the application. Call DeRegister(IPopoverView?) to manage the lifetime of the popover directly. If popover is the active popover, it is removed from the registry first, then hidden so the region it covered is invalidated. Unregistering before Hide(IPopoverView?) prevents a VisibleChanged handler from calling Show(IPopoverView?) during hide.