C# disable aero snap for WPF window [duplicate]
问题 This question already has answers here : Closed 8 years ago . Possible Duplicate: disable Aero Snap (wpf) I have an application in C# WPF. I want the main window to have fixed size. To achieve this, I have set the height and max height, width and max width, to the same values. Everything looks fine, but I want also to disable Aero snap effect for this window only. The solution to disable Aero snap from Windows Registry or Control Panel is excluded. Setting the ResizeMode of the window to