MediaElement.LoadedBehavior Property

 

Gets or sets the load behavior MediaState for the media.

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

member LoadedBehavior : MediaState with 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: