From 3c2e0f72588d028f3ec984d25f2407db94a91f20 Mon Sep 17 00:00:00 2001 From: Dominik Titl <78549750+morning4coffe-dev@users.noreply.github.com> Date: Sat, 30 Mar 2024 11:08:07 +0100 Subject: [PATCH] chore: Internally implement ElementVerticalTemplate and ElementHorizontalTemplate --- src/Uno.UI/UI/Xaml/Controls/ScrollBar/ScrollBar.cs | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/Uno.UI/UI/Xaml/Controls/ScrollBar/ScrollBar.cs b/src/Uno.UI/UI/Xaml/Controls/ScrollBar/ScrollBar.cs index efa4fab5d4b7..530ec7dda4bb 100644 --- a/src/Uno.UI/UI/Xaml/Controls/ScrollBar/ScrollBar.cs +++ b/src/Uno.UI/UI/Xaml/Controls/ScrollBar/ScrollBar.cs @@ -843,6 +843,11 @@ private void OnThumbDragStarted( m_dragValue = Value; } + // NOTE: Currently only used internally for Automation + internal UIElement ElementHorizontalTemplate => m_tpElementHorizontalTemplate; + + internal UIElement ElementVerticalTemplate => m_tpElementVerticalTemplate; + // Whenever the thumb gets dragged, we handle the event through this function to // update the current value depending upon the thumb drag delta. private void OnThumbDragDelta(