Skip to main content

ValueFromDistance 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)

public virtual double ValueFromDistance(
double horizontal,
double vertical
)

Parameters

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

Return Value

Double

See Also

Reference

Track Class
Avalonia.Controls.Primitives Namespace