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

New-UDRadio

Synopsis

Creates a radio.

Syntax

New-UDRadio [[-Id] <String>] [[-Label] <String>] [-Disabled] [[-Value] <String>] [[-LabelPlacement] <String>] [[-Color] <String>] [[-Aria] <ScriptBlock>] [<CommonParameters>]

Description

Creates a radio. Radios should be included within a New-UDRadioGroup.

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

-Label

The label to show next to the radio.

-Disabled

Whether the radio is disabled.

-Value

The value of the radio.

-LabelPlacement

The position to place the label in relation to the radio.

-Color

The theme color to apply to this radio

-Aria

A script block of New-UDAriaAttribute calls that supplies ARIA or role attributes for this radio control.

Common parameters

This cmdlet supports the common parameters: Verbose, Debug, ErrorAction, ErrorVariable, WarningAction, WarningVariable, OutBuffer, PipelineVariable, and OutVariable. For more information, see about_CommonParameters.

Last updated

Was this helpful?