feat: redesign NumericUpDown.

This commit is contained in:
Zhang Dian
2024-03-11 19:52:11 +08:00
parent 46e57925b9
commit 4d14c846b0
2 changed files with 20 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
x:CompileBindings="True">
<!-- Add Resources Here -->
<ControlTheme x:Key="{x:Type NumericUpDown}" TargetType="NumericUpDown">
<Setter Property="NumericUpDown.VerticalAlignment" Value="Center" />
<Setter Property="NumericUpDown.VerticalContentAlignment" Value="Center" />
<Setter Property="NumericUpDown.CornerRadius" Value="{DynamicResource NumericUpDownCornerRadius}" />
<Setter Property="NumericUpDown.Template">