This commit is contained in:
Paolo Matarazzo 2025-04-03 08:12:19 -04:00
parent b50834b5d9
commit 22c0f57fcb

View File

@ -100,12 +100,25 @@ You can change the apps pinned to the taskbar by modifying the `<TaskbarLayout>`
For practical examples of how to add, remove, or replace pinned apps, see the following sections: For practical examples of how to add, remove, or replace pinned apps, see the following sections:
::: zone pivot="windows-10"
- [Add pins](#example-add-pins)
- [Remove default pins](#example-remove-pins)
- [Replace default pins](#example-replace-pins)
- [Configure the taskbar by country or region](#example-configure-the-taskbar-by-country-or-region)
::: zone-end
::: zone pivot="windows-11"
- [Add pins](#example-add-pins) - [Add pins](#example-add-pins)
- [Remove default pins](#example-remove-pins) - [Remove default pins](#example-remove-pins)
- [Replace default pins](#example-replace-pins) - [Replace default pins](#example-replace-pins)
- [Replace default pins and allow unpinning of specific apps](#example-replace-default-pins-and-allow-unpinning-of-specific-apps) - [Replace default pins and allow unpinning of specific apps](#example-replace-default-pins-and-allow-unpinning-of-specific-apps)
- [Configure the taskbar by country or region](#example-configure-the-taskbar-by-country-or-region) - [Configure the taskbar by country or region](#example-configure-the-taskbar-by-country-or-region)
::: zone-end
#### Example: add pins #### Example: add pins
The `<CustomTaskbarLayoutCollection>` section appends the listed apps to the taskbar by default. The following sample keeps the default apps pinned and adds pins for Paint, Microsoft Reader, and a command prompt. The `<CustomTaskbarLayoutCollection>` section appends the listed apps to the taskbar by default. The following sample keeps the default apps pinned and adds pins for Paint, Microsoft Reader, and a command prompt.