Method EnableForDesign | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
EnableForDesign(ref 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.
public bool EnableForDesign<TContext>(ref TContext context) where TContext : notnull
Parameters
context
TContext
Optional arbitrary, View-specific, context.
Returns
true if the view successfully loaded demo data.
Type Parameters
TContext
A non-null type for context
.