namespace Terminal.Gui; /// /// 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. /// /// Optional arbitrary, View-specific, context. /// A non-null type for . /// if the view successfully loaded demo data. public bool EnableForDesign (ref readonly TContext context) 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; }