Skip to content
New issue

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

DontUseDwm="True" case the window corner unpainted #129

Closed
gossiper opened this issue Jun 28, 2015 · 3 comments
Closed

DontUseDwm="True" case the window corner unpainted #129

gossiper opened this issue Jun 28, 2015 · 3 comments

Comments

@gossiper
Copy link

In RibbonWindow, if you set DontUseDwm="True" to turn off aero glass effect, the window corner will be unpainted due to the corner radius. Also set CornerRadius is not working.

capture

@batzen
Copy link
Member

batzen commented Jun 29, 2015

Sadly this is not really fixable from our side as we rely on the WindowChrome class provided by Microsoft. Just have a look at the other issues labelled with "WindowChrome" to get a picture.

@huoyaoyuan
Copy link

A resolution: set WindowStyle="None" first and AllowsTransparency="True" next. Remember to set it back when setting DontUseDwm="False".

@batzen
Copy link
Member

batzen commented Aug 14, 2015

That works once. But you can't set it back as WPF does not allow that.

@batzen batzen self-assigned this Nov 6, 2015
@batzen batzen added this to the 4.0.0 milestone Nov 6, 2015
@batzen batzen closed this as completed in 4a82ea4 Dec 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants