LoadedBehavior Property

MediaElement.LoadedBehavior Property


Gets or sets the load behavior MediaState for the media.

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public MediaState LoadedBehavior { get; set; }

Property Value

Type: System.Windows.Controls.MediaState

The load behavior MediaState set for the media. The default value is Play.

LoadedBehavior must be set to Manual in order to interactively control media with the Play, Pause, and Stop methods.

Identifier field


Metadata properties set to true


.NET Framework
Available since 3.0
Return to top
© 2015 Microsoft