ui::ScrollProvider¶
Header: winui/ui/Automation.hpp.
The Scroll pattern: how far a view is scrolled (Scroll, VirtualList, TableView). Implement every member.
scroll_horizontal_percent¶
Percent scrolled horizontally in [0, 100], or -1 when that axis does not scroll (0 is scrollable, at the start).
scroll_vertical_percent¶
As scroll_horizontal_percent(), for the vertical axis.
set_scroll_percent¶
Scroll each axis to a percentage in [0, 100]; -1 leaves that axis alone. True when it scrolled.