Table of Contents

Method EnableForDesign

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

EnableForDesign<TContext>(ref TContext)

Enables the popover for use in design-time scenarios.

public virtual bool EnableForDesign<TContext>(ref TContext targetView) where TContext : notnull

Parameters

targetView TContext

The target view to associate with the popover.

Returns

bool

true if successfully enabled for design; otherwise, false.

Type Parameters

TContext

The type of the target view context.

Remarks

This method creates a default content view for design-time use. Override to provide custom design-time behavior.