NotificationAreaNotificationArea

NotificationArea 管理到任务栏的通知区域相关的设置。NotificationArea manages settings related to the notification area of the taskbar.

四个通知图标所示在桌面通知区域的可见部分。Four notification icons are shown in the visible portion of the notification area on the desktop. 默认情况下,这些图标是操作中心电池— 如果系统硬件包括电池支持 —网络,以及By default, these icons are Action Center, Battery—if the system hardware includes battery support—Network, and Volume.

您可以选择最多两个其他图标通知区域中均可见。You can select up to two other icons to be visible in the notification area. 这些其他图标将显示来代替操作中心电池图标。These other icons will appear in place of the Action Center and Battery icons.

子元素Child Elements

设置Setting 描述Description
PromotedIcon1PromotedIcon1 指定一个图标会显示在通知区域来代替操作中心图标。Specifies an icon to be visible in the notification area in place of the Action Center icon.
PromotedIcon2PromotedIcon2 指定一个图标会显示在通知区域来代替电池图标。Specifies an icon to be visible in the notification area in place of the Battery icon.

有效配置阶段Valid Configuration Passes

专用化specialize

父层次结构Parent Hierarchy

Microsoft-Windows-Shell-Setup | Notification AreaMicrosoft-Windows-Shell-Setup | Notification Area

适用于Applies To

Windows 版本和体系结构,该组件支持的列表,请参阅Microsoft Windows Shell 安装For a list of the Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML 示例XML Example

以下 XML 输出说明了如何升级两个其他通知图标,来代替可见操作中心电池图标。The following XML output shows how to promote two other notification icons to be visible in place of the Action Center and Battery icons.

<NotificationArea>
  <PromotedIcon1>
    <Path>%PROGRAMFILES%\Fabrikam\Application1.exe</Path>
    <GUID>{d8742dcb-3e6a-4b3c-b3fe-374623cdcf06}</GUID>
  </PromotedIcon1>
  <PromotedIcon2>
    <Path>%PROGRAMFILES%\Fabrikam\Application2.exe</Path>
    <GUID>{a1bc23cb-3456-bcde-abcd-feb363cacc88}</GUID>
  </PromotedIcon2>
</NotificationArea>

Microsoft-Windows-Shell-SetupMicrosoft-Windows-Shell-Setup