From 8230c8ec248152474f97f6955fc38e9c168682f9 Mon Sep 17 00:00:00 2001 From: rabbitism Date: Mon, 15 Jan 2024 00:07:09 +0800 Subject: [PATCH] feat: Add Clear. --- demo/Ursa.Demo/Pages/NumericUpDownDemo.axaml | 2 +- .../Controls/NumericUpDown.axaml | 38 +++++++++++++++++++ .../NumericUpDown/NumericUpDownBase.cs | 7 ++++ 3 files changed, 46 insertions(+), 1 deletion(-) diff --git a/demo/Ursa.Demo/Pages/NumericUpDownDemo.axaml b/demo/Ursa.Demo/Pages/NumericUpDownDemo.axaml index 33d5bf7..f13dadd 100644 --- a/demo/Ursa.Demo/Pages/NumericUpDownDemo.axaml +++ b/demo/Ursa.Demo/Pages/NumericUpDownDemo.axaml @@ -14,7 +14,7 @@ - + diff --git a/src/Ursa.Themes.Semi/Controls/NumericUpDown.axaml b/src/Ursa.Themes.Semi/Controls/NumericUpDown.axaml index 499de51..3c87f03 100644 --- a/src/Ursa.Themes.Semi/Controls/NumericUpDown.axaml +++ b/src/Ursa.Themes.Semi/Controls/NumericUpDown.axaml @@ -3,6 +3,27 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:u="https://irihi.tech/ursa"> + + + + + + + + + + + + + + + @@ -39,10 +60,27 @@ Background="Transparent" Cursor="SizeAll" IsVisible="{TemplateBinding AllowDrag}" /> +