Skip to content

Instantly share code, notes, and snippets.

@m417z
m417z / 01-TaskbarResources.xbf.xml
Created May 13, 2023 19:48
Taskbar-related XAML resources extracted from C:\Windows\SystemApps\MicrosoftWindows.Client.Core_cw5n1h2txyewy\resources.pri, Windows 11 version 22H2 (OS Build 22621.1702)
<ResourceDictionary
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:muxc="using:Microsoft.UI.Xaml.Controls"
xmlns:taskbar="using:Taskbar"
xmlns:udk="using:WindowsUdk.UI.Shell"
x:Class="Taskbar.TaskbarResources">
<ResourceDictionary.ThemeDictionaries>
@rounk-ctrl
rounk-ctrl / Dark.md
Last active March 15, 2026 00:54
Win32 Dark Mode

Dark Mode

How to use the newly added dark mode system added in recent Windows 11 builds. They added a dark mode variant of almost every control.

API Signatures.

ShouldAppsUseDarkMode

Whether apps should use dark mode or not.

typedef bool (WINAPI* ShouldAppsUseDarkMode_t)(); // ordinal 132