Table of Contents

Class Wizard.WizardStep

Namespace
Terminal.Gui
Assembly
Terminal.Gui.dll

Represents a basic step that is displayed in a Wizard. The Wizard.WizardStep view is divided horizontally in two. On the left is the content view where Views can be added, On the right is the help for the step. Set HelpText to set the help text. If the help text is empty the help pane will not be shown.

If there are no Views added to the WizardStep the HelpText (if not empty) will fill the wizard step.

public class Wizard.WizardStep : FrameView, IDisposable, ISupportInitializeNotification, ISupportInitialize
Inheritance
Wizard.WizardStep
Implements
Inherited Members

Remarks

If Buttons are added, do not set IsDefault to true as this will conflict with the Next button of the Wizard.

Subscribe to the VisibleChanged event to be notified when the step is active; see also: StepChanged.

To enable or disable a step from being shown to the user, set Enabled.

Constructors

WizardStep(ustring)

Initializes a new instance of the Wizard class using Computed positioning.

Properties

BackButtonText

Sets or gets the text for the back button. The back button will only be visible on steps after the first step.

HelpText

Sets or gets help text for the Wizard.WizardStep.If HelpText is empty the help pane will not be visible and the content will fill the entire WizardStep.

NextButtonText

Sets or gets the text for the next/finish button.

Title

The title of the Wizard.WizardStep.

Methods

Add(View)

Add the specified View to the Wizard.WizardStep.

OnTitleChanged(ustring, ustring)

Called when the Title has been changed. Invokes the TitleChanged event.

OnTitleChanging(ustring, ustring)

Called before the Title changes. Invokes the TitleChanging event, which can be cancelled.

Remove(View)

Removes a View from Wizard.WizardStep.

RemoveAll()

Removes all Views from the Wizard.WizardStep.

Events

TitleChanged

Event fired after the Title has been changed.

TitleChanging

Event fired when the Title is changing. Set Cancel to true to cancel the Title change.