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
WinUI Gallery now integrates with the Windows taskbar jump list, giving
you quick access to common utilities like Iconography and Colors pages
and your favorites directly from the taskbar.
<img width="340" height="549" alt="image"
src="https://github.com/user-attachments/assets/0889df18-a342-4a38-b52d-c261a5939301"
/>
**Taskbar jump list integration**
- Right-click the WinUI Gallery icon to see all your favorited and
recent items appear in a dedicated "Favorites" and "Recent" group in the
jump list
- The jump list updates automatically when you add or remove favorites
- Clicking any jump list item launches the app and navigates directly to
that page
**New sample page: Jump list (Shell→ Jump list)**
- Interactive demos for adding tasks and custom groups to a jump list
- Inline C# code samples showing the JumpList and JumpListItem APIs
- Packaged-mode (MSIX) requirement noted via InfoBar
Also moved app notifications, badge notifications and jumplist to a new
category called "Shell":
<img width="328" height="163" alt="image"
src="https://github.com/user-attachments/assets/4a965a76-1237-4cc8-b932-78bdea2384a3"
/>
---------
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: niels9001 <9866362+niels9001@users.noreply.github.com>
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Text="WinUI Gallery populates its jump list with your recently visited and favorited items. Restarting the app will restore these entries after any changes made on this page." />
18
+
19
+
<controls:ControlExampleHeaderText="Adding tasks to the jump list">
20
+
<StackPanelSpacing="8">
21
+
<TextBlockTextWrapping="Wrap"
22
+
Text="Tasks are items with an empty GroupName. They appear in the built-in 'Tasks' section at the bottom of the jump list. Use tasks for common app-wide actions that are always relevant, such as composing a new message or opening settings. Each task launches the app with a specific argument string that your app can handle on startup." />
23
+
<StackPanelOrientation="Horizontal"Spacing="8">
24
+
<ButtonContent="Add sample tasks"
25
+
Style="{StaticResource AccentButtonStyle}"
26
+
Click="AddTasksButton_Click" />
27
+
<ButtonContent="Clear all items"
28
+
Click="ClearTasksButton_Click" />
29
+
</StackPanel>
30
+
</StackPanel>
31
+
<controls:ControlExample.CSharp>
32
+
<x:Stringxml:space="preserve">
33
+
var jumpList = await JumpList.LoadCurrentAsync();
34
+
35
+
var task = JumpListItem.CreateWithArguments("/compose", "New Message");
36
+
task.Description = "Compose a new message";
37
+
task.Logo = new Uri("ms-appx:///Assets/Tiles/AppList.targetsize-48.png");
38
+
39
+
jumpList.Items.Add(task);
40
+
await jumpList.SaveAsync();
41
+
</x:String>
42
+
</controls:ControlExample.CSharp>
43
+
</controls:ControlExample>
44
+
45
+
<controls:ControlExampleHeaderText="Adding items to a custom group">
46
+
<StackPanelSpacing="8">
47
+
<TextBlockTextWrapping="Wrap"
48
+
Text="Custom groups let you organize jump list items into named sections. Set the GroupName property to a non-empty string and all items sharing the same GroupName will appear together under that heading. This is useful for grouping related items like recent projects, pinned documents, or user-defined categories." />
49
+
<ButtonContent="Add custom group items"
50
+
Click="AddCustomGroupButton_Click" />
51
+
</StackPanel>
52
+
<controls:ControlExample.CSharp>
53
+
<x:Stringxml:space="preserve">
54
+
var jumpList = await JumpList.LoadCurrentAsync();
55
+
56
+
var item = JumpListItem.CreateWithArguments("/project-alpha", "Project Alpha");
57
+
item.GroupName = "Projects";
58
+
item.Description = "Open Project Alpha";
59
+
item.Logo = new Uri("ms-appx:///Assets/Tiles/AppList.targetsize-48.png");
0 commit comments