Sungaila.ImmersiveDarkMode.WinUI
1.0.0
Prefix Reserved
dotnet add package Sungaila.ImmersiveDarkMode.WinUI --version 1.0.0
NuGet\Install-Package Sungaila.ImmersiveDarkMode.WinUI -Version 1.0.0
This command is intended to be used within the Package Manager Console in Visual Studio, as it uses the NuGet module's version of Install-Package.
<PackageReference Include="Sungaila.ImmersiveDarkMode.WinUI" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Sungaila.ImmersiveDarkMode.WinUI --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Sungaila.ImmersiveDarkMode.WinUI, 1.0.0"
#r directive can be used in F# Interactive and Polyglot Notebooks. Copy this into the interactive tool or source code of the script to reference the package.
// Install Sungaila.ImmersiveDarkMode.WinUI as a Cake Addin #addin nuget:?package=Sungaila.ImmersiveDarkMode.WinUI&version=1.0.0 // Install Sungaila.ImmersiveDarkMode.WinUI as a Cake Tool #tool nuget:?package=Sungaila.ImmersiveDarkMode.WinUI&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
Sungaila.ImmersiveDarkMode
Applies a dark theme to the titlebar of Win32 windows. Can also be toggled automatically whenever the system-wide application theme changes.
Works on Windows 11 (Build 22000) and newer.
Getting started
Call WindowExtensions.InitTitlebarTheme()
in the constructor of your Microsoft.UI.Xaml.Window
like this:
public Window1()
{
InitializeComponent();
this.InitTitlebarTheme();
}
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0-windows10.0.22000 is compatible. net7.0-windows was computed. net7.0-windows10.0.22000 is compatible. net8.0-windows was computed. net8.0-windows10.0.22000 is compatible. |
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.
-
net6.0-windows10.0.22000
- Microsoft.Windows.SDK.BuildTools (>= 10.0.22621.3233)
- Microsoft.WindowsAppSDK (>= 1.2.221109.1)
- Sungaila.ImmersiveDarkMode (>= 1.0.0)
-
net7.0-windows10.0.22000
- Microsoft.Windows.SDK.BuildTools (>= 10.0.22621.3233)
- Microsoft.WindowsAppSDK (>= 1.2.221109.1)
- Sungaila.ImmersiveDarkMode (>= 1.0.0)
-
net8.0-windows10.0.22000
- Microsoft.Windows.SDK.BuildTools (>= 10.0.22621.3233)
- Microsoft.WindowsAppSDK (>= 1.2.221109.1)
- Sungaila.ImmersiveDarkMode (>= 1.0.0)
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.
Version | Downloads | Last updated |
---|---|---|
1.0.0 | 306 | 3/16/2024 |
1.0.0-preview | 97 | 3/16/2024 |
- Initial release.