You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Confirm whether Duration.TimeSpan should be a field or property. #13096
Hey there — just a heads-up that this issue has been quiet for over a year. If there’s no update or comment in the next 10 days, it’ll be closed automatically. Feel free to remove the stale label or drop a note to keep it open.
This is settled: in WinUI's C# projection, Duration.TimeSpan is a get-only property, and Uno now matches it. The change from the old public field landed in #23619, and you can see the result here:
. It ships in 7.0, and the migration guide covers it. If you still see a difference from WinUI, please open a new issue.
This was checked as part of an AI-assisted backlog review by reading the code, not by running it. If it looks wrong, please reply and we will take another look.
Activity
ramezgerges commentedon Dec 25, 2023
Duration.TimeSpanis indeed a property on WinUI. According to #13712 (comment), that might not be the case for UWP.github-actions commentedon Aug 10, 2025
Hey there — just a heads-up that this issue has been quiet for over a year. If there’s no update or comment in the next 10 days, it’ll be closed automatically. Feel free to remove the stale label or drop a note to keep it open.
MartinZikmund commentedon Aug 11, 2025
The discrepancy is still present
Storyboardanimations enhancements #23455MartinZikmund commentedon Nov 8, 2026
This is settled: in WinUI's C# projection,
Duration.TimeSpanis a get-only property, and Uno now matches it. The change from the old public field landed in #23619, and you can see the result here:uno/src/Uno.UI/UI/Xaml/Duration.cs
Line 21 in 1f84af6
This was checked as part of an AI-assisted backlog review by reading the code, not by running it. If it looks wrong, please reply and we will take another look.