fyf 2 years ago
parent
commit
c0aa51ae83
1 changed files with 4 additions and 4 deletions
  1. +4
    -4
      BPASmartClient.SCADAControl/Themes/Generic.xaml

+ 4
- 4
BPASmartClient.SCADAControl/Themes/Generic.xaml View File

@@ -1656,7 +1656,7 @@
FontFamily="Fonts/#Quartz M"
FontSize="20"
Foreground="{DynamicResource ProgressBar.Progress.圆形蓝.Text}"
Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, StringFormat=\{0\}%}" />
Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, StringFormat={}{0:f1}%}" />
</Grid>
<ControlTemplate.Triggers>
<EventTrigger RoutedEvent="Loaded">
@@ -1745,7 +1745,7 @@
FontFamily="Fonts/#Quartz M"
FontSize="20"
Foreground="{DynamicResource ProgressBar.Progress.圆形绿.Text}"
Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, StringFormat=\{0\}%}" />
Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, StringFormat={}{0:f1}%}" />
</Grid>
<ControlTemplate.Triggers>
<EventTrigger RoutedEvent="Loaded">
@@ -1834,7 +1834,7 @@
FontFamily="Fonts/#Quartz M"
FontSize="20"
Foreground="{DynamicResource ProgressBar.Progress.圆形红.Text}"
Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, StringFormat=\{0\}%}" />
Text="{Binding Value, RelativeSource={RelativeSource TemplatedParent}, StringFormat={}{0:f1}%}" />
</Grid>
<ControlTemplate.Triggers>
<EventTrigger RoutedEvent="Loaded">
@@ -1920,7 +1920,7 @@
FontFamily="{StaticResource Digital}"
FontSize="12"
Foreground="{DynamicResource Titleforeground}"
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Value, StringFormat={}百分比: {0} %}"
Text="{Binding RelativeSource={RelativeSource TemplatedParent}, Path=Value, StringFormat={}百分比: {0:f2} %}"
Visibility="Visible" />
<VisualStateManager.VisualStateGroups>
<VisualStateGroup x:Name="CommonStates">


Loading…
Cancel
Save