From 1b647f79847d3ba0e760c18ceb14f82917be4f10 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) (cherry picked from commit c1eff9ddf8c221e5f0f1a9c0e367f07db8dd5887) --- 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 6e866ff..69a2217 100644 --- a/src/Semi.Avalonia/Controls/ScrollViewer.axaml +++ b/src/Semi.Avalonia/Controls/ScrollViewer.axaml @@ -53,6 +53,7 @@ MinWidth="{StaticResource ScrollBarThickness}" VerticalAlignment="Center" Focusable="False" + AutomationProperties.Name="Column left" Theme="{StaticResource ScrollBarRepeatButton}"> @@ -85,9 +87,10 @@ VerticalAlignment="Stretch" CornerRadius="0" Focusable="False" + AutomationProperties.Name="Page right" Theme="{StaticResource ScrollBarRepeatButton}" /> - + @@ -156,9 +162,10 @@ VerticalAlignment="Stretch" CornerRadius="0" Focusable="False" + AutomationProperties.Name="Page down" Theme="{StaticResource ScrollBarRepeatButton}" /> - +