WPF日历控件

编程入门 行业动态 更新时间:2024-10-15 16:23:45
本文介绍了WPF日历控件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

您好,我想知道您是否可以指导我如何自定义日历控件. 试图实现的目的是在我的comobox中添加一个日历控件.这是comobox的.xaml

Hi, I was wondering if you can guide me on how I can customize a Calendar Control. What am trying to achieve is that to add a calendar control inside my comobox. Here is .xaml for the comobox

<combobox grid.row="0" grid.column="0" height="23" horizontalalignment="Left" name="comboBox1" verticalalignment="Bottom" width="120" margin="100,0,0,0"> <comboboxitem name="cbi1">Daily</comboboxitem> <comboboxitem name="cbi3">Monthly></comboboxitem> </combobox>

当它在comboxbox列表中时,在选择一个项目后我会弹出一个日历.例如,对于每月",它将仅在日历中显示一年中的月份.

When it the comboxbox list the list item upon selecting an item I would like to pop-out a calender. For instance for Monthly it will only display the months of the year in the calendar.

推荐答案

Hello 如果要自定义日历控件:自定义新的WPF日历控件 该链接包含三种日历显示模式. Hello If you want to customize the Calendar Control: Customizing the New WPF Calendar Controls The link contains the three Calendar display modes.

更多推荐

WPF日历控件

本文发布于:2023-11-27 23:15:53,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1639991.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:控件   日历   WPF

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!