The string format for specifying a TimeSpan is [days.]hours:minutes:seconds[.fractionalSeconds]. Creating a TimeSpan in XAML is possible only 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.