Open xielong12 opened 7 months ago
@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 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 theDrawerHost
? 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"
@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.
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](https://github.com/MaterialDesignInXAML/MaterialDesignInXamlToolkit/assets/43948537/cd1686a7-cbff-4fb6-b9ef-1cbfdcddc397)
Version
4.9.0