IScrollProvider Interface

Exposes methods and properties to support access by a UI Automation client to a control that acts as a scrollable container for a collection of child objects.

Definition

Namespace: Avalonia.Automation.Provider
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public interface IScrollProvider

Properties

HorizontallyScrollable Gets a value that indicates whether the control can scroll horizontally.
HorizontalScrollPercent Gets the current horizontal scroll position.
HorizontalViewSize Gets the current horizontal view size.
VerticallyScrollable Gets a value that indicates whether the control can scroll vertically.
VerticalScrollPercent Gets the current vertical scroll position.
VerticalViewSize Gets the vertical view size.

Methods

Scroll(ScrollAmount, ScrollAmount) Scrolls the visible region of the content area horizontally and vertically.
SetScrollPercent(Double, Double) Sets the horizontal and vertical scroll position as a percentage of the total content area within the control.

See Also