private void PositionThumb_DragDelta(object sender, Windows.UI.Xaml.Controls.Primitives.DragDeltaEventArgs e) { var width = this.SliderBase.ActualWidth - this.PositionThumb.ActualWidth; thumbX += e.HorizontalChange; seekBarProps.HPos = Math.Min(width, Math.Max(0, thumbX)); }
private void thume_DragDelta(object sender, Windows.UI.Xaml.Controls.Primitives.DragDeltaEventArgs e) { point.X += e.HorizontalChange; point.Y += e.VerticalChange; if (isPressed == true) { Delta(point); } }