mirror of
https://gitee.com/AntdUI/AntdUI.git
synced 2025-12-18 17:36:53 +08:00
1.7 KiB
1.7 KiB
Label
👚
Display a piece of text.
- DefaultProperty:Text
- DefaultEvent:Click
Property
| Name | Description | Type | Default Value |
|---|---|---|---|
| AutoSize | Auto Size | bool | false |
| AutoSizeMode | Auto size mode | TAutoSize | None |
| ForeColor | Text color | Color? |
null |
| ColorExtend | Text gradient color | string? |
null |
| Text | Text | string | |
| 🌏 LocalizationText | International Text | string? |
null |
| TextAlign | Text position | ContentAlignment | MiddleLeft |
| AutoEllipsis | Text exceeds automatic processing | bool | false |
| TextMultiLine | Multiple lines | bool | true |
| IconRatio | Icon Scale | float | 0.7F |
| Prefix | Prefix text | string? |
null |
| 🌏 LocalizationPrefix | International Prefix | string? |
null |
| PrefixSvg | Prefix SVG | string? |
null |
| PrefixColor | Prefix color | Color? |
null |
| Suffix | Suffix text | string? |
null |
| 🌏 LocalizationSuffix | International Suffix | string? |
null |
| SuffixSvg | Suffix SVG | string? |
null |
| SuffixColor | Suffix color | Color? |
null |
| Highlight | Full display of tags | bool | true |
| ShowTooltip | Exceeding text display Tooltip | bool | true |
| Rotate 🔴 | Rotate | TRotate | None |
| Shadow | Shadow size | int | 0 |
| ShadowColor | Shadow color | Color? |
null |
| ShadowOpacity | Shadow Transparency | float | 0.3F |
| ShadowOffsetX | Shadow offset X | int | 0 |
| ShadowOffsetY | Shadow offset Y | int | 0 |