Wpf日历变化标题背景 [英] Wpf calendar change header background

查看:128
本文介绍了Wpf日历变化标题背景的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如何更改日历控件的标题背景?我只需要顶部,而不是所有区域。

How to change header background of a calendar control? I need only top, not all area.

非常感谢!

推荐答案

查看这篇MSDN文章,该文章介绍了自定义WPF日历控件的过程: http://msdn.microsoft.com/en-us/magazine/dd882520.aspx#id0430016

Check out this MSDN article that goes through the process of customizing the WPF Calendar Control: http://msdn.microsoft.com/en-us/magazine/dd882520.aspx#id0430016

它包括设置用于控件的自定义模板。

It includes steps for setting a custom template for the control.

这篇关于Wpf日历变化标题背景的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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