From c1eff9ddf8c221e5f0f1a9c0e367f07db8dd5887 Mon Sep 17 00:00:00 2001
From: Zhang Dian <54255897+zdpcdt@users.noreply.github.com>
Date: Mon, 9 Feb 2026 15:17:21 +0800
Subject: [PATCH] fix: add AutomationProperties names to ScrollViewer controls.
(#738)
---
src/Semi.Avalonia/Controls/ScrollViewer.axaml | 12 ++++++++++--
1 file changed, 10 insertions(+), 2 deletions(-)
diff --git a/src/Semi.Avalonia/Controls/ScrollViewer.axaml b/src/Semi.Avalonia/Controls/ScrollViewer.axaml
index 1834099..dce99ea 100644
--- a/src/Semi.Avalonia/Controls/ScrollViewer.axaml
+++ b/src/Semi.Avalonia/Controls/ScrollViewer.axaml
@@ -54,6 +54,7 @@
MinWidth="{StaticResource ScrollBarThickness}"
VerticalAlignment="Center"
Focusable="False"
+ AutomationProperties.Name="Column left"
Theme="{StaticResource ScrollBarRepeatButton}">
@@ -86,9 +88,10 @@
VerticalAlignment="Stretch"
CornerRadius="0"
Focusable="False"
+ AutomationProperties.Name="Page right"
Theme="{StaticResource ScrollBarRepeatButton}" />
-
+
@@ -157,9 +163,10 @@
VerticalAlignment="Stretch"
CornerRadius="0"
Focusable="False"
+ AutomationProperties.Name="Page down"
Theme="{StaticResource ScrollBarRepeatButton}" />
-
+