WPF:重新设计窗口?

发布于 2024-09-03 00:44:01 字数 219 浏览 0 评论 0原文

有谁知道是否可以在 wpf 中重新设置窗口的样式。或者更好的是任何教程或示例?

基本上我想更改最小化和最大化按钮 - 哦,关闭按钮稍微大一点......

我有表达混合......

这可能吗?

我在 infragistics 示例应用程序中看到了一些示例,它们有一些漂亮的表单,据我所知,它不使用任何自定义 wpf 控件...

任何想法都非常感激

does anyone know if its possible to restyle a window in wpf. Or even better any tutorials or samples?

Basically i would like to change the minimize and maximize buttons - oh and the close button to be slightly bigger....

I have expression blend....

Is this possible?

I saw some samples in infragistics sample apps which have some great looking forms and as far as i can tell it doesn't use any custom wpf controls...

Any ideas really appreciated

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

护你周全 2024-09-10 00:44:01

快速解决方案是在窗口上设置 WindowStyle="None",然后创建自己的最小化和关闭按钮。连接新按钮的事件/命令来操作窗口。

As quick solution would be to set the WindowStyle="None" on your window, then create your own minimize and close buttons. Hook up the event/command for the new buttons to manipulate the window.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文