How to apply DesktopAcrylicBackdrop to a uno built window #19123
-
Using the window created by Builder.Window i am trying in Windows only to apply a DesktopAcrylicBackdrop; I am using the Window returned by Builder.Window then settings the window.SystemBackdrop = new DesktopAcrylicBackdrop(); which seems to have no effect at all. In addition when i check to see what type the window is, it is not a WindowEx which is needed for the SystemBackdrop to work? Any ideas |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hey @cconner100, When you say "Uno built window," are you referring to specific platforms? If you mean just WinUI (Windows), you can use I recommend creating a platform-specific For Skia (desktop), it’s more complicated. You would either need to implement it on your side or use specific APIs for the window. However, I’m not sure if this is possible with the WPF window. Let me know if this helps! |
Beta Was this translation helpful? Give feedback.
Hey @cconner100,
When you say "Uno built window," are you referring to specific platforms? If you mean just WinUI (Windows), you can use
MainWindow.SystemBackdrop
. You can check out my project for more details. Make sure to set all the backgrounds toTransparent
.I recommend creating a platform-specific
Brush
and then applying it. You can see an example here.For Skia (desktop), it’s more complicated. You would either need to implement it on your side or use specific APIs for the window. However, I’m not sure if this is possible with the WPF window.
Let me know if this helps!