From ed5ce0a913a477de17798b72c31cc5f9d54645cb Mon Sep 17 00:00:00 2001
From: NaBian <836904362@qq.com>
Date: Wed, 7 Aug 2024 22:27:27 +0800
Subject: [PATCH] chore: add avalonia DashedButton demo.
---
.../UserControl/Styles/ButtonDemoCtl.axaml | 56 +++++++++++
.../Themes/Styles/Button.axaml | 98 +++++++++++++++++--
.../Themes/Styles/Label.axaml | 2 +-
.../Themes/Styles/RepeatButton.axaml | 10 +-
.../Themes/Styles/TabItem.axaml | 4 +-
5 files changed, 156 insertions(+), 14 deletions(-)
diff --git a/src/Avalonia/HandyControlDemo_Avalonia/UserControl/Styles/ButtonDemoCtl.axaml b/src/Avalonia/HandyControlDemo_Avalonia/UserControl/Styles/ButtonDemoCtl.axaml
index 079ac813..1836c80b 100644
--- a/src/Avalonia/HandyControlDemo_Avalonia/UserControl/Styles/ButtonDemoCtl.axaml
+++ b/src/Avalonia/HandyControlDemo_Avalonia/UserControl/Styles/ButtonDemoCtl.axaml
@@ -63,6 +63,62 @@
Theme="{StaticResource ButtonDanger}" />
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Button.axaml b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Button.axaml
index be003770..dc1fe88b 100644
--- a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Button.axaml
+++ b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Button.axaml
@@ -1,5 +1,6 @@
+ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
+ xmlns:hc="https://handyorg.github.io/handycontrol">
-
-
-
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
@@ -121,4 +148,63 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
diff --git a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Label.axaml b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Label.axaml
index 0a8cc832..ffc79fa9 100644
--- a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Label.axaml
+++ b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/Label.axaml
@@ -38,7 +38,7 @@
-
diff --git a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/RepeatButton.axaml b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/RepeatButton.axaml
index 6f05ef79..b283195a 100644
--- a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/RepeatButton.axaml
+++ b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/RepeatButton.axaml
@@ -40,17 +40,17 @@
-
-
-
@@ -62,12 +62,12 @@
-
-
diff --git a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/TabItem.axaml b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/TabItem.axaml
index 34ac5a54..c5ce9c11 100644
--- a/src/Avalonia/HandyControl_Avalonia/Themes/Styles/TabItem.axaml
+++ b/src/Avalonia/HandyControl_Avalonia/Themes/Styles/TabItem.axaml
@@ -38,12 +38,12 @@
-
-