HtmlForgeX

API Reference

Command

New-HtmlXRadioGroup

Namespace HtmlForgeX.PowerShell
Outputs
HtmlForgeX.TablerRadioGroup

Creates a radio group control.

Remarks

Part of the HtmlForgeX.PowerShell DSL.

Examples

Imported script example

New-HtmlXRadioGroup -Name "plan" -Label "Plan" -Options @("Free", "Pro", "Enterprise") -Checked "Pro" -Inline
        

Common Parameters

This command supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable.

For more information, see about_CommonParameters.

Syntax

New-HtmlXRadioGroup [-Checked <string>] [-Disabled <string[]>] [-Hint <string>] [-Inline] [-Label <string>] [-Name <string>] [-Options <string[]>] [-ValidationMessage <string>] [-ValidationState <Valid|Invalid|Warning>] [<CommonParameters>]
#

Parameters

Checked string optionalposition: namedpipeline: false
Option that should be checked.
Disabled string[] optionalposition: namedpipeline: false
Options that should be disabled.
Hint string optionalposition: namedpipeline: false
Hint text.
Inline SwitchParameter optionalposition: namedpipeline: false
Render inline.
Label string optionalposition: namedpipeline: false
Label text.
Name string optionalposition: namedpipeline: false
Group name.
Options string[] optionalposition: namedpipeline: false
Options list.
ValidationMessage string optionalposition: namedpipeline: false
Validation message.
ValidationState ValidationState optionalposition: namedpipeline: falsevalues: 3
Validation state. Possible values: Valid, Invalid, Warning
Possible values: Valid, Invalid, Warning

Outputs

HtmlForgeX.TablerRadioGroup