BufferingTime Property

Gets or sets the amount of time to buffer.

XAML
<object BufferingTime="TimeSpan" .../>
Scripting
value = object.BufferingTime
object.BufferingTime = value

Property Value

TimeSpan

The amount of time to buffer. The default value is 5 seconds (0:0:05).

This property is read/write.

Remarks

The string format for specifying a TimeSpan is [days.]hours:minutes:seconds[.fractionalSeconds]. See TimeSpan. Creating a TimeSpan in XAML is only possible through a type conversion syntax when setting a property such as BufferingTime that takes a TimeSpan as an attribute string. Creating a TimeSpan in script also uses the type conversion syntax by setting BufferingTime with a properly formatted string.

Applies To

MediaElement

See Also

Media Overview
Supported Media Formats and Protocols