microsoft / microsoft/WindowsAppSDK
Add IsIndeterminate to AppNotificationProgressData
- Dominant language
- C++
- Stars
- 4.7k
- Forks
- 471
- Avg merge
- 3d 13h
- Merged PRs (30d)
- 28
Description
### Describe the bug
With the AppNotificationProgressData API, developers cannot set value="indeterminate" to their progress bar toast notification. In XML, setting value="indeterminate" in the progress element creates a loading animation in the progress bar notification. However, this behavior cannot be achieved with the current AppNotificationProgressData API.
Proposed solution: add a boolean isIndeterminate, very similar to the [WCT notification library's builder syntax approach](https://docs.microsoft.com/en-us/windows/apps/design/shell/tiles-and-notifications/toast-schema#adaptiveprogressbarvalue), to AppNotificationProgressData. Bool isIndeterminate would get or set a value indicating whether the progress bar is indeterminate. If isIndeterminate is true, Value will be ignored.
### Steps to reproduce the bug
Existing XML notification functionality is not supported in latest API
### Expected behavior
_No response_
### Screenshots
_No response_
### NuGet package version
_No response_
### Packaging type
_No response_
### Windows version
_No response_
### IDE
_No response_
### Additional context
_No response_
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.