Table of Contents

Class ApplicationPopover

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

Helper class for support of IPopoverView views for IApplication. Held by Popovers

public sealed class ApplicationPopover : IDisposable
Inheritance
ApplicationPopover
Implements
Inherited Members

Constructors

ApplicationPopover()

Initializes a new instance of the ApplicationPopover class.

Properties

App

The IApplication instance used by this instance.

Popovers

Gets the list of popovers registered with the application.

Methods

DeRegister(IPopoverView?)

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

Dispose()
GetActivePopover()

Gets the active popover, if any.

Hide(IPopoverView?)

Causes the specified popover to be hidden. If the popover is derived from PopoverImpl, this is the same as setting Visible to false.

IsRegistered(IPopoverView?)

Indicates whether a popover has been registered or not.

Register(IPopoverView?)

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

Show(IPopoverView?)

Shows popover. IPopoverView implementations should use OnVisibleChanaged/VisibleChanged to be notified when the user has done something to cause the popover to be hidden.

Events

PopoverDeRegistered

Raised when a popover is de-registered via DeRegister(IPopoverView?).

PopoverRegistered

Raised when a popover is registered via Register(IPopoverView?).