WPF: binding viewmodel property of type DateTime to Calendar inside ItemsControl

后端 未结 4 571
说谎
说谎 2021-02-08 07:55

i have a problem with WPF Binding. I want to bind a list of Months to a ItemsControl that shows a Calendar Control for each month. But each rendered Calendar shows DateTime.Now,

4条回答
  •  失恋的感觉
    2021-02-08 08:17

    I did read somewhere that if you bind a list box to a set of selected items (such as from another list box), it only shows the first selected item as selected on the second list box. I'm not sure if this is relevant here, but it looks like it could be.

提交回复
热议问题