How to make AllowsTransparency = true for WPF/GTK host Window? #16239
Unanswered
DmitryBorodiy
asked this question in
Q&A
Replies: 1 comment 1 reply
-
Recording.2024-04-11.214500.mp4 |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Wpf project head in AppHead.xaml.cs
var window = (System.Windows.Window)Window.Current.GetNativeWindow(); window.Background = new SolidColorBrush(Colors.Transparent); window.AllowsTransparency = true;
Hello, Uno Platform community!
I'm currently attempting to make my WPF host window transparent, but I've encountered an issue while using the AllowsTransparency and Background properties. The result is that the window appears to be entirely black. Additionally, I need to create a custom draggable area for the window. Acrylic backdrop also would be nice (WPF only). These requirements are specific to WPF/GTK.
Beta Was this translation helpful? Give feedback.
All reactions