API Reference
Command
New-HtmlXRadioGroup
Creates a radio group control.
Remarks
Part of the HtmlForgeX.PowerShell DSL.
Examples
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
- Option that should be checked.
- Disabled string[]
- Options that should be disabled.
- Hint string
- Hint text.
- Inline SwitchParameter
- Render inline.
- Label string
- Label text.
- Name string
- Group name.
- Options string[]
- Options list.
- ValidationMessage string
- Validation message.
- ValidationState ValidationState
- Validation state. Possible values: Valid, Invalid, Warning
- Possible values:
Valid,Invalid,Warning
Outputs
HtmlForgeX.TablerRadioGroup