protected override void OnTouchDown(TouchEventArgs e)
{
try {
if (IsDisabled)
return;
if (_draggingPointer != -1)
return;
Vector2 position = e.GetPosition(this);
_draggingPointer = e.Pointer;
CalculatePositionAndValue(position.X, position.Y);
CaptureTouch(e.Pointer);
e.Handled = true;
}
finally {
base.OnTouchDown(e);
}
}