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

New-UDToggleButtonGroup

A Toggle Button can be used to group related options.

Synopsis

A Toggle Button can be used to group related options.

Syntax

New-UDToggleButtonGroup [[-Id] <String>] [[-Color] <String>] [-Disabled] [-Exclusive] [-FullWidth] [[-OnChange] <Endpoint>] [[-Size] <String>] [[-Orientation] <String>] [[-Sx] <Hashtable>] [[-Value] <String[]>] [-Children] <ScriptBlock> [<CommonParameters>]

Description

A Toggle Button can be used to group related options.

Parameters

-Id

The ID of the component. If not specified, a random GUID will be assigned.

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

-Color

The color of the component. Valid values are 'standard', 'primary', 'secondary', 'error', 'info', 'success', 'warning'.

-OnChange

The endpoint to call when the value of the component changes.

-Size

The size of the component. Valid values are 'small', 'medium', 'large'.

-Orientation

The orientation of the component. Valid values are 'horizontal', 'vertical'.

-Sx

The style of the component.

-Value <String[]>

The value of the component.

-Children

The content of the component. Use New-UDToggleButton to create toggle buttons.

Outputs

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

Last updated

Was this helpful?