UWPAppsUseLightThemeUWPAppsUseLightTheme

UWPAppsUseLightTheme 指定是否要套用的深色的模式。UWPAppsUseLightTheme specifies whether the dark mode is applied.

Values

truetrue

指定使用傳統的 Windows 色彩模式。Specifies that the classic Windows color mode is used. 這是預設值。This is the default value.

falsefalse

指定使用深色色彩模式。Specifies that the dark color mode is used.

有效的設定階段Valid Configuration Passes

特製化specialize

auditSystemauditSystem

auditUserauditUser

oobeSystemoobeSystem

父階層Parent Hierarchy

Microsoft-Windows-Shell-Setup | Themes | UWPAppsUseLightThemeMicrosoft-Windows-Shell-Setup | Themes | UWPAppsUseLightTheme

套用至Applies To

如需支援的 Windows 版本與此元件支援的架構,請參閱Microsoft Windows Shell-安裝For a list of the supported Windows editions and architectures that this component supports, see Microsoft-Windows-Shell-Setup.

XML 範例XML Example

下列的 XML 輸出會顯示如何設定自訂的佈景主題。The following XML output shows how to set a customized theme.

<Themes>
   <ThemeName>Fabrikam Theme</ThemeName>
   <DefaultThemesOff>false</DefaultThemesOff>
   <DesktopBackground>%WINDIR%\OEM\CustomizationFiles\Theme1\fabrikam-wallpaper.jpg</DesktopBackground>
   <BrandIcon>%WINDIR%\OEM\CustomizationFiles\Theme1\fabrikam-logo.png</BrandIcon>
   <WindowColor>Automatic</WindowColor>
   <UWPAppsUseLightTheme>false</UWPAppsUseLightTheme>
</Themes>

佈景主題Themes