mirror of
https://gitee.com/AntdUI/AntdUI.git
synced 2026-03-26 23:50:45 +08:00
1.6 KiB
1.6 KiB
Progress
👚
Display the current progress of the operation.
- DefaultProperty:Value
- DefaultEvent:Click
Property
| Name | Description | Type | Default Value |
|---|---|---|---|
| ForeColor | Text color | Color? |
null |
| Back | Background color | Color? |
null |
| Fill | Progress bar color | Color? |
null |
| Radius | Rounded corners | int | 0 |
| Shape | Shape | TShapeProgress | Round |
| IconRatio | Icon Scale | float | 0.7F |
| ValueRatio | Progress bar ratio | float | 0.4F |
| UseSystemText | Using system text | bool | false |
| ShowTextDot | Display the decimal places of progress text | int | 0 |
| State | Style | TType | None |
| ShowInTaskbar | Display progress in taskbar | bool | false |
| Text | Text | string? |
null |
| 🌏 LocalizationText | International Text | string? |
null |
| TextUnit | Unit text | string? |
% |
| 🌏 LocalizationTextUnit | International Unit text | string? |
null |
| Value | Progress bar 0F-1F |
float | 0F |
| Loading | Loading State | bool | false |
| LoadingFull | Animated Full | bool | false |
| Loading | Loading State | bool | false |
| Animation | Animation duration | int | 200 |
| Steps | Total number of steps in the progress bar | int | 3 |
| StepSize | Step size | int | 14 |
| StepGap | Step gap | int | 2 |
Event
| Name | Description | Return Value | Parameters |
|---|---|---|---|
| ValueFormatChanged | Occurred during Value formatting | string | float value |