MaterialDesignInXamlToolkit
MaterialDesignInXamlToolkit copied to clipboard
DrawerHost Set LeftDrawerCornerRadius, IsLeftDrawerOpen is true, OverlayBackground not set CornerRadius.
Bug explanation
DialogHost set CornerRadius="18";
DrawerHost set LeftDrawerCornerRadius="18,0,0,18" OverlayBackground="Red";
When IsLeftDrawerOpen is open,OverlayBackground not have CornerRadius.
Version
4.9.0
@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
Windowin 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"
<WindowChrome.WindowChrome> <WindowChrome UseAeroCaptionButtons="False"/> </WindowChrome.WindowChrome>
@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.