-
-
Notifications
You must be signed in to change notification settings - Fork 110
Closed
Labels
Description
Describe the bug
If you have ApplyBackdropMaterial
set to true
and ResizeMode
set to NoResize
, you can still resize the window by dragging the edges of the window. When ApplyBackdropMaterial
is set to false
and ResizeMode
is still set to NoResize
, the user can no longer resize the window by dragging the edges of the window.
To Reproduce
Here's my XAML for the window:
<hc:Window x:Class="Dummy.MainWindow"
x:Name="window"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:hc="https://handyorg.github.io/handycontrol"
xmlns:local="clr-namespace:Dummy"
mc:Ignorable="d"
Title="MainWindow" Height="450" Width="800"
ApplyBackdropMaterial="True"
ResizeMode="NoResize">
Expected behavior
If the window's ResizeMode
property is set to NoResize
, the user should not be allowed to resize the window by dragging its edges, regardless of whether or not ApplyBackdropMaterial
is set to true
.
Environment (please complete the following information):
- .net: net5.0-windows
- IDE: vs2019
- Version: 3.3.11