捕捉/粘WPF的WindowsWPF、Windows

2023-09-02 21:10:12 作者:Unknown Lover 未知爱人

我正在寻找解决方案,以增加捕捉/粘窗户functionallity(WINAMP一样),以现有的WPF应用程序。同样的事情,有人问这里,只是我需要它上头。

I'm looking for solution to add snapping/sticky windows functionallity (winamp-like) to existing WPF application. Same thing as it was asked here, just I need it for WPF.

有不必有对接功能,只是为了捕捉到的相同的应用程序和屏幕(包括任务栏)如果可能的边缘内其他窗口边界。 preferably开源解决方案。

It doesn't have to have docking function, just to snap to border of other windows inside same application and edge of screen (including taskbar) if possible. Preferably open source solution.

感谢

推荐答案

在这里,我的项目,使您的WPF应用程序捕捉/粘。它的伟大工程:

Here my project that make your wpf app snapping / sticky. It works great:

http://programminghacks.net/2009/10/19/download-snapping-sticky-magnetic-windows-for-wpf/