ScrubbingEnabled Property

MediaElement.ScrubbingEnabled Property


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 bool ScrubbingEnabled { get; set; }

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


Metadata properties set to true


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