Merge pull request #752 from yangjieshao/main

修复了NumPad对NumericUpDown和IPv4Box的支持
This commit is contained in:
Dong Bin
2025-08-29 17:07:03 +08:00
committed by GitHub
6 changed files with 164 additions and 13 deletions

View File

@@ -21,11 +21,21 @@
HorizontalAlignment="Stretch"
u:NumPad.Attach="True"
Watermark="Invoke NumPad" />
<u:IPv4Box Width="200" u:NumPad.Attach="True" />
<u:IPv4Box
Width="200"
u:NumPad.Attach="True"
InputMode="Fast"
ShowLeadingZero="False" />
<u:NumericIntUpDown
HorizontalAlignment="Stretch"
u:NumPad.Attach="True"
Watermark="Invoke NumPad" />
Watermark="Invoke u:NumericIntUpDown" />
<NumericUpDown
u:NumPad.Attach="True"
ButtonSpinnerLocation="Left"
Watermark="NumericUpDown" />
<Border Theme="{DynamicResource CardBorder}">
<StackPanel>
<TextBox Name="text" Width="200" />