MediaElement.LoadedBehavior Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

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