Table of Contents

Property Target

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

Target

Gets or sets the target View of this popover as a weak reference. This is typically the view that triggered the popover to be shown. Commands that bubble from Views within the Popover will be bridged to this target view, allowing them to be handled as if they originated from the target. This is useful for scenarios where the View that triggered the popover is not part of the popover's view hierarchy, but still wants commands to be handled in the context of that view.

public WeakReference<View>? Target { get; set; }

Property Value

WeakReference<View>