fixed #706
This commit is contained in:
1 parent
d37ab735ea
commit
56c9918ea2
3 files changed
+4
-4
No files matched your search
@@ -2366,7 +2366,7 @@
|
||||
<Style x:Key="ProgressBarBaseStyle" TargetType="ProgressBar">
|
||||
<Setter Property="hc:VisualElement.Text">
|
||||
<Setter.Value>
|
||||
<MultiBinding Converter="{StaticResource Number2PercentageConverter}" StringFormat="{}{0} %">
|
||||
<MultiBinding Converter="{StaticResource Number2PercentageConverter}" StringFormat="{}{0:F0} %">
|
||||
<Binding Path="Value" RelativeSource="{RelativeSource Self}" />
|
||||
<Binding Path="Maximum" RelativeSource="{RelativeSource Self}" />
|
||||
</MultiBinding>
|
||||
|
||||
@@ -21,7 +21,7 @@
|
||||
<Style x:Key="ProgressBarBaseStyle" TargetType="ProgressBar">
|
||||
<Setter Property="hc:VisualElement.Text">
|
||||
<Setter.Value>
|
||||
<MultiBinding Converter="{StaticResource Number2PercentageConverter}" StringFormat="{}{0} %">
|
||||
<MultiBinding Converter="{StaticResource Number2PercentageConverter}" StringFormat="{}{0:F0} %">
|
||||
<Binding Path="Value" RelativeSource="{RelativeSource Self}"/>
|
||||
<Binding Path="Maximum" RelativeSource="{RelativeSource Self}"/>
|
||||
</MultiBinding>
|
||||
@@ -260,4 +260,4 @@
|
||||
</Setter>
|
||||
</Style>
|
||||
|
||||
</ResourceDictionary>
|
||||
</ResourceDictionary>
|
||||
@@ -2366,7 +2366,7 @@
|
||||
<Style x:Key="ProgressBarBaseStyle" TargetType="ProgressBar">
|
||||
<Setter Property="hc:VisualElement.Text">
|
||||
<Setter.Value>
|
||||
<MultiBinding Converter="{StaticResource Number2PercentageConverter}" StringFormat="{}{0} %">
|
||||
<MultiBinding Converter="{StaticResource Number2PercentageConverter}" StringFormat="{}{0:F0} %">
|
||||
<Binding Path="Value" RelativeSource="{RelativeSource Self}" />
|
||||
<Binding Path="Maximum" RelativeSource="{RelativeSource Self}" />
|
||||
</MultiBinding>
|
||||
|
||||
Reference in new issue
Block a user