Changing Taskbar (Shell_TrayWnd) Color to Transparent

Jacob Mordon 225 Reputation points
2024-07-09T09:51:43.66+00:00

0

I found a way to change color to fully transparent, by researching structure of DesktopWindowXamlSource of Taskbar (Shell_TrayWnd).photo_5217612656314278088_w (1)

I'm curious is it possible to somehow change BackgroundFill in DesktopWindowXamlSource to Windows.UI.Xaml.Media.Brush with value of transparent by writing some C# Code.

Windows
Windows
A family of Microsoft operating systems that run across personal computers, tablets, laptops, phones, internet of things devices, self-contained mixed reality headsets, large collaboration screens, and other devices.
5,409 questions
Windows API - Win32
Windows API - Win32
A core set of Windows application programming interfaces (APIs) for desktop and server applications. Previously known as Win32 API.
2,626 questions
C#
C#
An object-oriented and type-safe programming language that has its roots in the C family of languages and includes support for component-oriented programming.
10,940 questions
0 comments No comments
{count} votes

Accepted answer
  1. Castorix31 85,366 Reputation points
    2024-07-09T11:55:24.77+00:00

    It can be done with InitializeXamlDiagnosticsEx and a DLL, like with UWPSpy

    For example RainbowTaskbar does it in C#, but it is very complex...

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.