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(