MediaElement.ScrubbingEnabled 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 a value that indicates whether the MediaElement will update frames for seek operations while paused.

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

Public Property ScrubbingEnabled As Boolean

Property Value

Type: System.Boolean

true if frames are updated while paused; otherwise, false. The default is false.

When set to false, seeking to a specific location will only update the displayed frame if media is playing.

Setting ScrubbingEnabled to true can incur some performance costs, especially when interactively controlling media playback.

Identifier field

ScrubbingEnabledProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show: