Method EnableForDesign
EnableForDesign<TContext>(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 targetView) where TContext : notnull
Parameters
targetViewTContext
Returns
Type Parameters
TContextA non-null type for
targetView.