Skip to content

Commit

Permalink
chore: Internally implement ElementVerticalTemplate and ElementHorizo…
Browse files Browse the repository at this point in the history
…ntalTemplate
  • Loading branch information
morning4coffe-dev authored and MartinZikmund committed Jun 17, 2024
1 parent a7a29f6 commit 3c2e0f7
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/Uno.UI/UI/Xaml/Controls/ScrollBar/ScrollBar.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 3c2e0f7

Please sign in to comment.