Track.

ValueFromDistance(double, double) Method

Summary

Calculates the change in the Value of the Track when the Thumb moves.
Namespace
Avalonia.Controls.Primitives
Containing Type
Track

Syntax

public virtual double ValueFromDistance(double horizontal, double vertical)

Parameters

Name Type Description
horizontal double The horizontal displacement of the thumb.
vertical double The vertical displacement of the thumb.

Return Value

Type Description
double