Partilhar via


Track.ValueFromDistance(Double, Double) Método

Definição

Calcula a alteração no Value do Track quando o Thumb se move.

public:
 virtual double ValueFromDistance(double horizontal, double vertical);
public virtual double ValueFromDistance (double horizontal, double vertical);
abstract member ValueFromDistance : double * double -> double
override this.ValueFromDistance : double * double -> double
Public Overridable Function ValueFromDistance (horizontal As Double, vertical As Double) As Double

Parâmetros

horizontal
Double

O deslocamento horizontal do Thumb.

vertical
Double

O deslocamento vertical do Thumb.

Retornos

Double

A alteração no Value que corresponde ao deslocamento do Thumb do Track.

Aplica-se a