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

DrawerHost Set LeftDrawerCornerRadius, IsLeftDrawerOpen is true, OverlayBackground not set CornerRadius. #3412

Open
xielong12 opened this issue Dec 8, 2023 · 3 comments
Labels
bug evaluation required Items is pending review or evaluation by the team

Comments

@xielong12
Copy link

Bug explanation

DialogHost set CornerRadius="18";
DrawerHost set LeftDrawerCornerRadius="18,0,0,18" OverlayBackground="Red";
When IsLeftDrawerOpen is open,OverlayBackground not have CornerRadius.
DrawerHost bug
DrawerHost bug

Version

4.9.0

@xielong12 xielong12 added bug evaluation required Items is pending review or evaluation by the team labels Dec 8, 2023
@nicolaihenriksen
Copy link
Contributor

@xielong12 I suspect the rounded corners on the application window is from a MahApps/ControlzEx window rather than from just plain Window in Windows11? If so, could you share some basic XAML with the window setup and the DrawerHost? Thanks.

@xielong12
Copy link
Author

xielong12 commented Dec 12, 2023

@xielong12 I suspect the rounded corners on the application window is from a MahApps/ControlzEx window rather than from just plain Window in Windows11? If so, could you share some basic XAML with the window setup and the DrawerHost? Thanks.

First of all, thank you for your answer.
In the end, I chose the window rounded corner following system.
Hidden the title and buttons of the form.
Set WindowStyle="SingleBorderWindow"
Set UseAeroCaptionButtons="False"

<WindowChrome.WindowChrome> </WindowChrome.WindowChrome>

@nicolaihenriksen
Copy link
Contributor

@xielong12 Sorry for the long delay in answering, I have been completely drowning in other stuff lately. Would it be possible for you to create a small sample app with the WindowChrome you want that shows the issue with the DialogHost? Just a simple app that can pop the DialogHost by clicking a button or similar would suffice. Thanks.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug evaluation required Items is pending review or evaluation by the team
Projects
None yet
Development

No branches or pull requests

2 participants