Exporter (0) Imprimer
Développer tout

Membres MediaPlayer

Provides media playback for drawings.

Les tableaux suivants listent les membres exposés par le type MediaPlayer .

  Nom Description
Méthode publique MediaPlayer Initializes a new instance of the MediaPlayer class.
Début

  Nom Description
Propriété publique Balance Gets or sets the balance between the left and right speaker volumes.
Propriété publique BufferingProgress Gets the percentage of buffering completed for streaming content.
Propriété publique CanFreeze  Gets a value that indicates whether this object can be made unmodifiable. (hérité de Freezable)
Propriété publique CanPause Gets a value indicating whether the media can be paused.
Propriété publique Clock Gets or sets the MediaClock associated with the MediaTimeline to be played.
Propriété publique DependencyObjectType  Gets the DependencyObjectType that wraps the CLR type of this instance. (hérité de DependencyObject)
Propriété publique Dispatcher  Gets the Dispatcher this DispatcherObject is associated with. (hérité de DispatcherObject)
Propriété publique DownloadProgress Gets the percentage of download progress for content located at a remote server.
Propriété publique HasAnimatedProperties  Gets a value that indicates whether one or more AnimationClock objects is associated with any of this object's dependency properties.(hérité de Animatable)
Propriété publique HasAudio Gets a value that indicating whether the media has audio output.
Propriété publique HasVideo Gets a value that indicates whether the media has video output.
Propriété publique IsBuffering Gets a value that indicates whether the media is buffering.
Propriété publique IsFrozen  Gets a value that indicates whether the object is currently modifiable. (hérité de Freezable)
Propriété publique IsMuted Gets a value that indicates whether the media is muted.
Propriété publique IsSealed  Gets a value that declares whether this instance is currently read-only.(hérité de DependencyObject)
Propriété publique NaturalDuration Gets the natural duration of the media.
Propriété publique NaturalVideoHeight Gets the pixel height of the video.
Propriété publique NaturalVideoWidth Gets the pixel width of the video.
Propriété publique Position Gets or sets the current position of the media.
Propriété publique ScrubbingEnabled Gets or sets a value that indicates whether scrubbing is enabled.
Propriété publique Source Gets the media Uri.
Propriété publique SpeedRatio Gets or sets the ratio of speed that media is played at.
Propriété publique Volume Gets or sets the media's volume.
Début

(voir aussi Méthodes protégées )
  Nom Description
Méthode publique ApplyAnimationClock  Surchargé. Animates the specified DependencyProperty using the specified AnimationClock. (hérité de Animatable)
Méthode publique BeginAnimation  Surchargé. Applies an animation to the specified DependencyProperty. (hérité de Animatable)
Méthode publique CheckAccess  Determines whether the calling thread has access to this DispatcherObject. (hérité de DispatcherObject)
Méthode publique ClearValue  Surchargé. Clears the local value of a property. (hérité de DependencyObject)
Méthode publique Clone  Creates a modifiable clone of this Animatable, making deep copies of this object's values. When copying this object's dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values. (hérité de Animatable)
Méthode publique CloneCurrentValue  Creates a modifiable clone (deep copy) of this Freezable using its current values. (hérité de Freezable)
Méthode publique Close Closes the underlying media.
Méthode publique CoerceValue  Coerces the value of the specified dependency property. This is accomplished by invoking any CoerceValueCallback function specified in property metadata for the property on this type. (hérité de DependencyObject)
Méthode publique Equals  Surchargé. Determines whether a provided DependencyObject is equivalent to the current DependencyObject. (hérité de DependencyObject)
Méthode publique Freeze  Surchargé. Makes a Freezable unmodifiable and sets its IsFrozen property to true, or determines whether the specified Freezable can be made unmodifiable. (hérité de Freezable)
Méthode publique GetAnimationBaseValue  Returns the non-animated value of the specified DependencyProperty. (hérité de Animatable)
Méthode publique GetAsFrozen  Creates a frozen copy of this Freezable , using base (non-animated) property values. Because the copy is frozen, any frozen sub-objects are copied by reference. (hérité de Freezable)
Méthode publique GetCurrentValueAsFrozen  Creates a frozen copy of this Freezable , using current property values. Because the copy is frozen, any frozen sub-objects are copied by reference. (hérité de Freezable)
Méthode publique GetHashCode  Gets a hash code for this DependencyObject. (hérité de DependencyObject)
Méthode publique GetLocalValueEnumerator  Creates a specialized enumerator for determining which dependency properties have locally set values on this DependencyObject. (hérité de DependencyObject)
Méthode publique GetType  Obtient le Type de l'instance actuelle. (hérité de Object)
Méthode publique GetValue  Returns the current effective value of a dependency property on this instance of a DependencyObject. (hérité de DependencyObject)
Méthode publique InvalidateProperty  Re-evaluates the effective value for the specified dependency property (hérité de DependencyObject)
Méthode publique Open Opens the given Uri for media playback.
Méthode publique Pause Pauses media playback.
Méthode publique Play Plays media from the current Position.
Méthode publique ReadLocalValue  Returns the local value of a dependency property, if it exists. (hérité de DependencyObject)
Méthode publique Statique ReferenceEquals  Détermine si les instances de Object spécifiées sont identiques. (hérité de Object)
Méthode publique SetValue  Surchargé. Sets the local value of a dependency property. (hérité de DependencyObject)
Méthode publique Statique ShouldSerializeStoredWeakReference  This member supports the Windows Presentation Foundation (WPF) infrastructure and is not intended to be used directly from your code. (hérité de Animatable)
Méthode publique Stop Stops media playback.
Méthode publique ToString  Retourne un String qui représente le Object en cours. (hérité de Object)
Méthode publique VerifyAccess  Enforces that the calling thread has access to this DispatcherObject. (hérité de DispatcherObject)
Début

  Nom Description
Méthode protégée CloneCore Substitué. Makes this instance a deep copy of the specified MediaPlayer. When copying dependency properties, this method copies resource references and data bindings (but they might no longer resolve) but not animations or their current values.
Méthode protégée CloneCurrentValueCore Substitué. Makes this instance a modifiable deep copy of the specified MediaPlayer using current property values. Resource references, data bindings, and animations are not copied, but their current values are.
Méthode protégée CreateInstance  Initializes a new instance of the Freezable class. (hérité de Freezable)
Méthode protégée CreateInstanceCore Substitué. Creates a new MediaPlayer instance.
Méthode protégée Finalize  Autorise Object à tenter de libérer des ressources et d'exécuter d'autres opérations de nettoyage avant que Object soit récupéré par l'opération garbage collection. (hérité de Object)
Méthode protégée Statique Freeze  Surchargé. Makes a Freezable unmodifiable and sets its IsFrozen property to true, or determines whether the specified Freezable can be made unmodifiable. (hérité de Freezable)
Méthode protégée FreezeCore  Makes this Animatable object unmodifiable or determines whether it can be made unmodifiable. (hérité de Animatable)
Méthode protégée GetAsFrozenCore Substitué. Makes this instance a clone of the specified MediaPlayer object.
Méthode protégée GetCurrentValueAsFrozenCore  Makes this instance a frozen clone of the specified Freezable. If this object has animated dependency properties, their current animated values are copied. (hérité de Freezable)
Méthode protégée MemberwiseClone  Crée une copie superficielle de l'objet Object en cours. (hérité de Object)
Méthode protégée OnChanged  Called when the current Freezable object is modified. (hérité de Freezable)
Méthode protégée OnFreezablePropertyChanged  Surchargé. Ensures that appropriate context pointers are established for a data member of type DependencyObject that has just been modified. (hérité de Freezable)
Méthode protégée OnPropertyChanged  Overrides the DependencyObject implementation of OnPropertyChanged to also invoke any Changed handlers in response to a dependency property of type Freezable changing. (hérité de Freezable)
Méthode protégée ReadPreamble Ensures that the MediaPlayer is being accessed from a valid thread.
Méthode protégée ShouldSerializeProperty  Returns a value that indicates whether serialization processes should serialize the value for the provided dependency property. (hérité de DependencyObject)
Méthode protégée WritePostscript  Raises the Changed event for this Freezable and invokes its OnChanged method. Classes that derive from Freezable should call this method at the end of any API that modifies class members that are not stored as dependency properties. (hérité de Freezable)
Méthode protégée WritePreamble Verifies that the MediaPlayer is not frozen and that it is being accessed from a valid threading context.
Début

  Nom Description
Événement public BufferingEnded Occurs when buffering has finished.
Événement public BufferingStarted Occurs when buffering has started.
Événement public Changed  Occurs when this Freezable or an object it contains is modified. (hérité de Freezable)
Événement public MediaEnded Occurs when the media has finished playback.
Événement public MediaFailed Occurs when an error is encountered
Événement public MediaOpened Occurs when the media is opened.
Événement public ScriptCommand Occurs when a script command has been encountered within the media.
Début

Ajouts de la communauté

AJOUTER
Afficher:
© 2014 Microsoft