mirror of
https://gitee.com/AntdUI/AntdUI.git
synced 2025-12-06 08:08:52 +08:00
33 lines
1.1 KiB
Markdown
33 lines
1.1 KiB
Markdown
[Home](../Home.md)・[UpdateLog](../UpdateLog.md)・[Config](../Config.md)・[Theme](../Theme.md)
|
||
|
||
## Radio
|
||
👚
|
||
|
||
> Used to select a single state from multiple options.
|
||
|
||
- DefaultProperty:Checked
|
||
- DefaultEvent:CheckedChanged
|
||
|
||
### Property
|
||
|
||
Name | Description | Type | Default Value |
|
||
:--|:--|:--|:--|
|
||
**AutoSize** | Auto Size | bool | false |
|
||
**AutoSizeMode** | Auto size mode | [TAutoSize](Enum.md#tautosize) | None |
|
||
||||
|
||
**ForeColor** | Text color | Color`?` | `null` |
|
||
**Fill** | Fill color | Color`?` | `null` |
|
||
||||
|
||
**Text** | Text | string`?` | `null` |
|
||
🌏 **LocalizationText** | International Text | string`?` | `null` |
|
||
**TextAlign** 🔴 | Text position | ContentAlignment | MiddleLeft |
|
||
**Checked** | Checked state | bool | false |
|
||
**AutoCheck** | Click to automatically change the selected status | bool | true |
|
||
||||
|
||
**RightToLeft** | Reverse | RightToLeft | No |
|
||
|
||
### Event
|
||
|
||
Name | Description | Return Value | Parameters |
|
||
:--|:--|:--|:--|
|
||
**CheckedChanged** | Occurred when the value of the Checked attribute is changed | void | bool value `Checked state` | |