Point point;//开始 private void thume_DragStarted(object sender, Windows.UI.Xaml.Controls.Primitives.DragStartedEventArgs e) { point = new Point(e.HorizontalOffset, e.VerticalOffset); if (isPressed == false)//&&Math.Abs(distance-Radius)< ThumbSize/2) { isPressed = true; Start(point); } }
private void PositionThumb_DragStarted(object sender, Windows.UI.Xaml.Controls.Primitives.DragStartedEventArgs e) { thumbX = seekBarProps.HPos; dragEntered = true; }