捕捉/粘性 WPF 窗口 [英] Snapping / Sticky WPF Windows

查看:15
本文介绍了捕捉/粘性 WPF 窗口的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在寻找向现有 WPF 应用程序添加捕捉/粘性窗口功能(类似 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.

它不必具有停靠功能,只要可能,就可以捕捉到同一应用程序内其他窗口的边框和屏幕边缘(包括任务栏).最好是开源解决方案.

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 Docking库 可能会提供您正在寻找的一些内容,但我不确定它是否适用于整个屏幕或仅适用于您的应用程序窗口.

The WPF Docking Library may provide some of what you are looking for, but I'm unsure if it works on the entire screen or just on your application window.

这篇关于捕捉/粘性 WPF 窗口的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆