namespace Terminal.Gui.ViewBase;
///
/// Interface declaring common functionality useful for designer implementations.
///
public interface IDesignable
{
///
/// 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.
///
///
/// A non-null type for .
/// if the view successfully loaded demo data.
public bool EnableForDesign (ref TContext targetView) where TContext : notnull => 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.
///
/// if the view successfully loaded demo data.
public bool EnableForDesign () => false;
}