Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我想为图像中的窗口创建一种样式。所以窗口上方的三角形将在鼠标的位置。我该怎么做?
您无法在 wpf 中编辑窗口标题栏。为此,您需要设置 WindowStyle=None 并在顶部添加用户控件并将其用作窗口标题。