TrackValueFromDistance Method

Calculates the change in the Value of the Track when the Thumb moves.

Definition

Namespace: Avalonia.Controls.Primitives
Assembly: Avalonia.Controls (in Avalonia.Controls.dll) Version: 11.3.999
public virtual double ValueFromDistance(
	double horizontal,
	double vertical
)

Parameters

horizontal  Double
The horizontal displacement of the thumb.
vertical  Double
The vertical displacement of the thumb.

Return Value

Double

See Also