Table of Contents

Method EnableForDesign

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

EnableForDesign<TContext>(ref readonly TContext)

Causes the View to enable design-time mode. This typically means that the view will load demo data and be configured to allow for design-time manipulation.

bool EnableForDesign<TContext>(ref readonly TContext context) where TContext : notnull

Parameters

context TContext

Optional arbitrary, View-specific, context.

Returns

bool

true if the view successfully loaded demo data.

Type Parameters

TContext

A non-null type for context.

EnableForDesign()

Causes the View to enable design-time mode. This typically means that the view will load demo data and be configured to allow for design-time manipulation.

bool EnableForDesign()

Returns

bool

true if the view successfully loaded demo data.