microsoft/WindowsAppSDK

Add IsIndeterminate to AppNotificationProgressData

Open

#2,231 建立於 2022年3月10日

在 GitHub 查看
 (2 留言) (4 反應) (2 負責人)C++ (453 fork)auto 404
Status: In PRarea-Notificationsfeature proposalgood first issue

倉庫指標

Star
 (4,628 star)
PR 合併指標
 (PR 指標待抓取)

描述

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, 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

貢獻者指南