KeyTime.FromTimeSpan Method
[ This article is for Windows Phone 8 developers. If you’re developing for Windows 10, see the latest documentation. ]
Assembly: System.Windows (in System.Windows.dll)
Parameters
- timeSpan
- Type: System.TimeSpan
The value of the new KeyTime.
Return Value
Type: System.Windows.Media.Animation.KeyTimeA new KeyTime, initialized to the value of timeSpan.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | The specified timeSpan is outside the allowed range. |
Show: