/// <summary> /// Handles the PositionChanged event of the Media control. /// </summary> /// <param name="sender">The source of the event.</param> /// <param name="e">The <see cref="PositionChangedRoutedEventArgs"/> instance containing the event data.</param> private void OnMediaPositionChanged(object sender, PositionChangedRoutedEventArgs e) { // Handle position change notifications }
private void Media_PositionChanged(object sender, PositionChangedRoutedEventArgs e) { // Debug.WriteLine($"{nameof(Media.Position)} = {e.Position}"); }