We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Windows 11 professional edition 10.0.22631 build 22631
screenshot:
code: AcrylicBlurIssueWin11.zip
No response
11.2.2
Windows
The issue likely isn't specific to Avaloniaui, as I've encountered a similar problem in my WPF application. Here is my code about AcrylicBlur in wpf.
var accent = new AccentPolicy { AccentState = AccentState.ACCENT_ENABLE_ACRYLICBLURBEHIND, GradientColor = _blurColor }; var accentPolicySize = Marshal.SizeOf(accent); var accentPtr = Marshal.AllocHGlobal(accentPolicySize); Marshal.StructureToPtr(accent, accentPtr, false); try { var data = new WindowCompositionAttributeData { Attribute = WindowCompositionAttribute.WCA_ACCENT_POLICY, SizeOfData = accentPolicySize, Data = accentPtr, }; SetWindowCompositionAttribute(handle, ref data); } finally { Marshal.FreeHGlobal(accentPtr); }
The text was updated successfully, but these errors were encountered:
#6465
Sorry, something went wrong.
No branches or pull requests
Describe the bug
Windows 11 professional edition
10.0.22631 build 22631
screenshot:
To Reproduce
code:
AcrylicBlurIssueWin11.zip
Expected behavior
No response
Avalonia version
11.2.2
OS
Windows
Additional context
The issue likely isn't specific to Avaloniaui, as I've encountered a similar problem in my WPF application.
Here is my code about AcrylicBlur in wpf.
The text was updated successfully, but these errors were encountered: