Property Modal | Terminal.Gui v2 (original) (raw)
Namespace
Assembly
Terminal.Gui.dll
Modal
Determines whether the Wizard is displayed as modal pop-up or not. The default istrue. The Wizard will be shown with a frame and title and will behave like anyToplevel window. If set to false
the Wizard will have no frame and will behave like any embedded View. To use Wizard as an embedded View
- Set Modal to
false
. - Add the Wizard to a containing view with Add(View?).
If a non-Modal Wizard is added to the application afterRun(Toplevel, Func<Exception, bool>?) has been called the first step must be explicitly set by setting CurrentStep toGetNextStep():
wizard.CurrentStep = wizard.GetNextStep();
public bool Modal { get; set; }