IScrollProviderSetScrollPercent Method
Sets the horizontal and vertical scroll position as a percentage of the total content
area within the control.
Namespace: Avalonia.Automation.ProviderAssembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
void SetScrollPercent(
double horizontalPercent,
double verticalPercent
)
Sub SetScrollPercent (
horizontalPercent As Double,
verticalPercent As Double
)
abstract SetScrollPercent :
horizontalPercent : float *
verticalPercent : float -> unit
Parameters
- horizontalPercent Double
-
The horizontal position as a percentage of the content area's total range.
NoScroll should be passed in if the control
cannot be scrolled in this direction.
- verticalPercent Double
-
The vertical position as a percentage of the content area's total range.
NoScroll should be passed in if the control
cannot be scrolled in this direction.
| Windows | IScrollProvider.SetScrollPercent |
| macOS | No mapping. |