我正在考虑将我在 WPF 中制作的应用程序移植到 Avalonia。
我的第一个要求是启用点击透明性(与<Window Background="{x:Null}" WindowStyle="None" AllowsTransparency="True"
WPF 中相同)。
我已经尝试过了,但它看起来不起作用(至少在 Windows 上)。
ExtendClientAreaToDecorationsHint="True"
ExtendClientAreaChromeHints="NoChrome"
ExtendClientAreaTitleBarHeightHint="-1"
TransparencyBackgroundFallback="Transparent"
Background="{x:Null}"
目标操作系统将是 Windows、macOS 和 Linux。因此,在将它安装到虚拟机或购买新设备之前,我需要知道是否有可能在所有操作系统中都具有该功能。