Table of Contents

Interface IDesignable

Namespace
Terminal.Gui.ViewBase
Assembly
Terminal.Gui.dll

Interface declaring common functionality useful for designer implementations.

public interface IDesignable

Methods

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.

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.

GetDemoKeyStrokes()

Returns a tuirec-format keystroke string for recording a demo GIF of this view. The string uses tuirec token syntax (e.g. "wait:500,Enter,wait:800,Escape"). This is a new API added in v2 to support automated documentation generation.