Share via


WizardForm.StartPageIndex Property

Definition

When overridden in a derived class, gets the page index of the first page that the wizard displays when it is first loaded.

protected:
 virtual property int StartPageIndex { int get(); };
protected virtual int StartPageIndex { get; }
member this.StartPageIndex : int
Protected Overridable ReadOnly Property StartPageIndex As Integer

Property Value

The page index of the first page to be displayed in the wizard. The default is 0.

Remarks

If implemented in your code, this property determines which page the wizard opens when it initially loads. This property enables you to create a custom StartPageIndex property.

If the StartPageIndex property value is not a valid page index, the form will display a blank page.

If this property is not implemented in your code, the wizard starts with the default StartPageIndex value of 0.

Applies to