For the complete documentation index, see llms.txt. This page is also available as Markdown.

New-UDStepper

Creates a new stepper component.

Synopsis

Creates a new stepper component.

Syntax

New-UDStepper [[-Id] <String>] [[-ActiveStep] <Int32>] [-Children] <ScriptBlock> [-NonLinear] [-AlternativeLabel] [-OnFinish] <Endpoint> [[-OnCancel] <Endpoint>] [[-OnValidateStep] <Endpoint>] [[-Orientation] <String>] [[-NextButtonText] <String>] [[-BackButtonText] <String>] [[-FinishButtonText] <String>] [[-CancelButtonText] <String>] [[-ClassName] <String>] [[-Style] <Hashtable>] [[-Sx] <Hashtable>] [<CommonParameters>]

Description

Creates a new stepper component. Steppers can be used as multi-step forms or to display information in a stepped manner.

Parameters

-Id

The ID of the component. It defaults to a random GUID.

Required?                    false
Position?                    1
Default value                ([Guid]::NewGuid())
Accept pipeline input?       false
Aliases
Accept wildcard characters?  false

-ActiveStep

Sets the active step. This should be the index of the step.

-Children

The steps for this stepper. Use New-UDStep to create new steps.

-OnFinish

A script block that is executed when the stepper is finished.

-OnCancel

-OnValidateStep

[Parameter()] [Endpoint]$OnCompleteStep,

-Orientation

Sets the orientation of the stepper.

-NextButtonText

The text to display in the next button.

-BackButtonText

The text to display in the back button.

-FinishButtonText

-CancelButtonText

The text to display in the cancel button.

-ClassName

A CSS class to apply to the stepper.

-Style

A hashtable of styles to apply to the stepper.

-Sx

A hashtable of styles to apply to the stepper.

Outputs

-------------------------- EXAMPLE 1 --------------------------

Last updated

Was this helpful?