如何在WPF中更改日历控件中的日历图标 [英] How can I change the calendar icon from the calendar control in WPF
本文介绍了如何在WPF中更改日历控件中的日历图标的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我希望在WPF中为我的日历控件设置一个自定义日历图标。
我尝试了什么:
尝试放置背景图片但没有成功。
I want to have a customized calendar icon for my calendar control in WPF.
What I have tried:
Tried putting background image but no success.
推荐答案
这是完整的日历控件模板:日历样式和模板| Microsoft Docs [ ^ ]。您可以使用它并完全重新设置控件及其所有部件。
Here is the complete Calendar control Template: Calendar Styles and Templates | Microsoft Docs[^]. You can use this and completely restyle the control and all of its parts.
这篇关于如何在WPF中更改日历控件中的日历图标的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文