WPF Control, How to set transparency? #20504

Open
opened 2026-01-31 07:15:54 +00:00 by claunia · 0 comments
Owner

Originally created by @rafayahmed317 on GitHub (Sep 18, 2023).

I know the work is going on for the WPF and UWP controls, but I was looking on how to set the transparency for the WPF terminal control. Currently, it seems that the theme allows only for a solid background color, so I modified the TerminalSetTheme Method to also do EnableTransparentBackground(true) , however still the terminal control loads using the Background solid color, I looked up the source code for the Terminal app to see how it was doing this, and aside for the EnableTransparentBackground setting (I dont know c++. so I certainly have missed something), I was unable to locate how it did this. That means that I could not find where the transparency setting should be made, does the renderer does this, or will I have to modify something else?

Originally created by @rafayahmed317 on GitHub (Sep 18, 2023). I know the work is going on for the WPF and UWP controls, but I was looking on how to set the transparency for the WPF terminal control. Currently, it seems that the theme allows only for a solid background color, so I modified the TerminalSetTheme Method to also do EnableTransparentBackground(true) , however still the terminal control loads using the Background solid color, I looked up the source code for the Terminal app to see how it was doing this, and aside for the EnableTransparentBackground setting (I dont know c++. so I certainly have missed something), I was unable to locate how it did this. That means that I could not find where the transparency setting should be made, does the renderer does this, or will I have to modify something else?
claunia added the Needs-TriageNeeds-Tag-Fix labels 2026-01-31 07:15:54 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/terminal#20504