Table of Contents

Method EnableForDesign

Namespace
Terminal.Gui.Views
Assembly
Terminal.Gui.dll

EnableForDesign()

Loads demo data suitable for a designer preview: a multi-select LinearMultiSelector<T> of the seven days of the week, with the five weekdays (Mon–Fri) preselected. Only populated when T is string; for any other type, the view is left untouched and false is returned.

public virtual bool EnableForDesign()

Returns

bool

true if demo data was loaded.