RateChangedRoutedEventArgs RateChangedRoutedEventArgs RateChangedRoutedEventArgs RateChangedRoutedEventArgs Class

Definition

Provides event data for the RateChanged event.

public : sealed class RateChangedRoutedEventArgs : RoutedEventArgs
struct winrt::Windows::UI::Xaml::Media::RateChangedRoutedEventArgs : RoutedEventArgs
public sealed class RateChangedRoutedEventArgs : RoutedEventArgs
Public NotInheritable Class RateChangedRoutedEventArgs Inherits RoutedEventArgs
Inheritance
RateChangedRoutedEventArgsRateChangedRoutedEventArgsRateChangedRoutedEventArgsRateChangedRoutedEventArgs
Attributes

Windows 10 requirements

Device family
Windows 10 (introduced v10.0.10240.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v1)

Remarks

RateChanged event fires when PlaybackRate or DefaultPlaybackRate change.

The new PlaybackRate or DefaultPlaybackRate value, whichever property has changed, is not provided in the event data. Applications should query PlaybackRate or DefaultPlaybackRate inside the RateChangedRoutedEventHandler to obtain the new rate.

Constructors

RateChangedRoutedEventArgs() RateChangedRoutedEventArgs() RateChangedRoutedEventArgs() RateChangedRoutedEventArgs()

Initializes a new instance of the RateChangedRoutedEventArgs class.

Properties

OriginalSource OriginalSource OriginalSource OriginalSource

Gets a reference to the object that raised the event. This is often a template part of a control rather than an element that was declared in your app UI.

(Inherited from RoutedEventArgs)

See also