WPF 窗口标题栏中的自定义按钮 [英] Custom button in WPF window Titlebar
本文介绍了WPF 窗口标题栏中的自定义按钮的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我喜欢在 WPF Native Window 标题栏中添加自定义按钮,而不需要编辑窗口的样式.
I like to add a custom button in WPF Native Window title bar without editing the style of the Window.
有可能吗?如果是,请分享一些想法.
Is it possible? If yes, please share some ideas.
问候,
贾瓦哈尔
推荐答案
Mahapps 是 WPF 的 UI 工具包,它们使这变得非常简单:mahaps.com
Mahapps is a UI toolkit for WPF and they make this super easy: mahapps.com
使用 NuGet GUI 或数据包管理器控制台轻松安装:
Easy install using NuGet GUI or the Packet Manager console:
PM> Install-Package MahApps.Metro
我能够在不到半小时的时间内使用 Mahapp 进行安装和定制.
I was able to do the install and customization in less than half hour with Mahapp.
这篇关于WPF 窗口标题栏中的自定义按钮的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文