This commit is contained in:
NaBian committed 2021-03-11 00:35:06 +08:00
1 parent d37ab735ea
commit 56c9918ea2
3 files changed
+3 -3

No files matched your search

@@ -2366,7 +2366,7 @@
<Style x:Key="ProgressBarBaseStyle" TargetType="ProgressBar"> <Style x:Key="ProgressBarBaseStyle" TargetType="ProgressBar">
<Setter Property="hc:VisualElement.Text"> <Setter Property="hc:VisualElement.Text">
<Setter.Value> <Setter.Value>
<MultiBinding Converter="{StaticResource Number2PercentageConverter}" StringFormat="{}{0} %"> <MultiBinding Converter="{StaticResource Number2PercentageConverter}" StringFormat="{}{0:F0} %">
<Binding Path="Value" RelativeSource="{RelativeSource Self}" /> <Binding Path="Value" RelativeSource="{RelativeSource Self}" />
<Binding Path="Maximum" RelativeSource="{RelativeSource Self}" /> <Binding Path="Maximum" RelativeSource="{RelativeSource Self}" />
</MultiBinding> </MultiBinding>
@@ -21,7 +21,7 @@
<Style x:Key="ProgressBarBaseStyle" TargetType="ProgressBar"> <Style x:Key="ProgressBarBaseStyle" TargetType="ProgressBar">
<Setter Property="hc:VisualElement.Text"> <Setter Property="hc:VisualElement.Text">
<Setter.Value> <Setter.Value>
<MultiBinding Converter="{StaticResource Number2PercentageConverter}" StringFormat="{}{0} %"> <MultiBinding Converter="{StaticResource Number2PercentageConverter}" StringFormat="{}{0:F0} %">
<Binding Path="Value" RelativeSource="{RelativeSource Self}"/> <Binding Path="Value" RelativeSource="{RelativeSource Self}"/>
<Binding Path="Maximum" RelativeSource="{RelativeSource Self}"/> <Binding Path="Maximum" RelativeSource="{RelativeSource Self}"/>
</MultiBinding> </MultiBinding>
@@ -2366,7 +2366,7 @@
<Style x:Key="ProgressBarBaseStyle" TargetType="ProgressBar"> <Style x:Key="ProgressBarBaseStyle" TargetType="ProgressBar">
<Setter Property="hc:VisualElement.Text"> <Setter Property="hc:VisualElement.Text">
<Setter.Value> <Setter.Value>
<MultiBinding Converter="{StaticResource Number2PercentageConverter}" StringFormat="{}{0} %"> <MultiBinding Converter="{StaticResource Number2PercentageConverter}" StringFormat="{}{0:F0} %">
<Binding Path="Value" RelativeSource="{RelativeSource Self}" /> <Binding Path="Value" RelativeSource="{RelativeSource Self}" />
<Binding Path="Maximum" RelativeSource="{RelativeSource Self}" /> <Binding Path="Maximum" RelativeSource="{RelativeSource Self}" />
</MultiBinding> </MultiBinding>