Replies: 4 comments
-
|
Edit: In Avalonia, Transparent and no background are different regarding mouse hits: No Background => No hits |
Beta Was this translation helpful? Give feedback.
-
|
This is a known limitation which no one had time to fix yet |
Beta Was this translation helpful? Give feedback.
-
|
Can't you do that with win32 api? |
Beta Was this translation helpful? Give feedback.
-
|
You need to manually do it yourself as far as I am aware. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
In my WPF project I have:
With WPF, this window is transparent and I can easily click through to the applications underneath, while the button in the window is still clickable.
However, when I try to do the same thing in Avalonia, it does not work.
My Avalonia window:
In Avalonia, the window becomes transparent visually, but it still blocks mouse input, so I cannot click the applications underneath.
I have tried many approaches (searching online, suggestions from ChatGPT, etc.), but none of them worked.
Does anyone know why this works in WPF but not in Avalonia, and if there is a way to achieve the same behavior in Avalonia?
Beta Was this translation helpful? Give feedback.
All reactions