MediaElement.LoadedBehavior Property

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com 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

LoadedBehaviorProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show: