Skip to content

CircleProgressBar

圆形进度条

展示

示例

xml
<suki:CircleProgressBar IsIndeterminate="{Binding IsIndeterminate}"
                        StrokeWidth="11"
                        Value="{Binding ProgressValue}">
    <TextBlock Margin="0,2,0,0"  // 百分比显示
               Classes="h3"
               IsVisible="{Binding IsTextVisible}"
               Text="{Binding ProgressValue, StringFormat={}{0:#0}%}" />
</suki:CircleProgressBar>

参阅

Demo: SukiUI.Demo/Features/ControlsLibrary/ProgressView.axaml

API: Controls/CircleProgressBar.axaml.cs