移动无边界WPF窗口
Posted
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了移动无边界WPF窗口相关的知识,希望对你有一定的参考价值。
I wanted to create a borderless window, but still be able to move it. I thought it would be complicated, but just like a lot of things with WPF, things were simpler than I thought...
public MainWindow() { InitializeComponent(); this.MouseLeftButtonDown += delegate { this.DragMove(); }; }
以上是关于移动无边界WPF窗口的主要内容,如果未能解决你的问题,请参考以下文章