Skip to content

Commit ea12934

Browse files
authored
Add another requirement for pinning (#5636)
1 parent a2477a9 commit ea12934

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

hub/apps/develop/windows-integration/pin-to-taskbar.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
description: You can programmatically pin your app to the taskbar, and you can check if it's currently pinned.
33
title: Pin your app to the taskbar
44
template: detail.hbs
5-
ms.date: 09/24/2020
5+
ms.date: 07/28/2025
66
ms.topic: how-to
77
keywords: windows 10, uwp, win32, taskbar, taskbar manager, pin to taskbar, primary tile
88
ms.localizationpriority: medium
@@ -85,6 +85,7 @@ bool isPinningAllowed = TaskbarManager.GetDefault().IsPinningAllowed;
8585
>
8686
> * App is in foreground
8787
> * App has a Start menu entry
88+
> * For notifications to be displayed, the user must have system notifications enabled. We recommend that you surface this requirement to users within the app's UX.
8889
>
8990
> These requirements won't result in an exception if not met, the pin request will just be denied. `IsPinningAllowed` can be called to determine if a pin request (prompt) will be allowed.
9091

0 commit comments

Comments
 (0)